title: How can I emulate register_globals in PHP 5.4 or newer?
body: <p>I am working on a framework that uses <code>register_globals</code>. My local php version is 5.4. </p>
  
  <p>I know <code>register_globals</code> is deprecated since PHP 5.3.0 and removed in PHP 5.4, but I have to make this code work on PHP 5.4.</p>
  
  <p>Is there any way to emulate the functionality on newer versions of PHP?</p>