title: Convert php code in 5.4 version to 5.5
body: <p>I'm learning PHP, anybody help me to convert this code into php 5.5 version, many thanks ! I don't know how to replace function preg_replace by preg_replace_callback. Sorry for my bad English !</p>
  
  <pre><code>$_SERVER['SERVER_NAME'] = preg_replace( array('/^[a-zA-Z]+\:\/\//e'), '', $this-&gt;get_Env( array('SERVER_NAME', 'HTTP_HOST') ) );
  </code></pre>