Possible Duplicate:
PHP 5.4 Call-time pass-by-reference – Easy fix available?
I’m currently modifying someone’s webpage which uses call-time references in PHP scripts. Locally I’m using PHP 5.4 which removed those type of calls.
Is there any chance I can re-enable that feature again without downgrading to a previous version?
Unfortunately I’m not allowed to change the original source files so I’m stuck with that.
If you cannot change the code (as suggested in PHP 5.4 Call-time pass-by-reference – Easy fix available?), your only solution is to stay at PHP < 5.4 and accept that you are dealing with Legacy code on this project.