title: PHP str_replace with function
body: <p>Is it possible use <code>str_replace()</code> and use function in replace?</p>
  
  <pre><code>$value = "gal($data)";
  
  $replace = str_replace($dat, $value, $string);
  </code></pre>
  
  <p><strong><code>gal($data)</code></strong> is a function and I need replace one code for this function and show, but the script only give me finally this <strong><code>gal($data)</code></strong>, and the function no show nothing</p>
  
  <p>Is it possible use <code>str_replace()</code> for replace code and replace by the function or some similar method?</p>