title: What is the PHP equivalent of MySQL's UNHEX()?
body: <p>What is the PHP equivalent of MySQL's UNHEX()?</p>
  
  <p>For instance, the following query and PHP function should provide the same value.</p>
  
  <pre><code>SELECT UNHEX(c1) AS unhexed_c1 FROM table;
  
  $unhexed_c1=PHPs_UNHEX_Equivalent($c1);
  </code></pre>