title: PHP 5.4 Call-time pass-by-reference - Easy fix available?
body: <p>Is there any way to easily fix this issue or do I really need to rewrite all the legacy code?</p>
  
  <blockquote>
    <p>PHP Fatal error:  Call-time pass-by-reference has been removed in ... on line 30</p>
  </blockquote>
  
  <p>This happens everywhere as variables are passed into functions as references throughout the code.</p>