[development] Call time pass-by-reference for PHP 5.4
arlinsandbulte at gmail.com
Fri Oct 26 16:39:49 UTC 2012
Call time pass-by-reference has been deprecated for a while now, and PHP
before 5.4 throws a warning when it is used.
So, most code has already been updated to eliminate call time
This ONLY applies to fuction calls.
It does NOT apply to function definition. So, pass-by-reference CAN
continue to be used in function defenitions.
Thus, the following code IS valid:
$a = 0;
But, the following code IS NOT valid:
$a = 0;
On Fri, Oct 26, 2012 at 10:45 AM, Earnie Boyd
<earnie at users.sourceforge.net>wrote:
> What is going to be the best way to handle the removal of call time
> pass-by-reference as noted at
> This affects a lot of code. Based on http://drupal.org/node/1498574
> D8 will not be ready for PHP 5.4 but some WAMP and LAMP are already
> delivering it. My query here though is more looking at preparing for
> any new modules or converting older modules and getting them ready for
> PHP 5.4. How do others plan to handle this offensive change?
> -- https://sites.google.com/site/earnieboyd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development