On 25.07.2015 at 16:16, Rowan Collins wrote:

> On 25/07/2015 12:49, Christoph Becker wrote:
>> I agree that the manual page needs an update, but it seems that would
>> result in an even more lengthy explanation of the caveats due to the
>> different behavior under PHP 5 and PHP 7, respectively.
> 
> Well, the current manual page is invalid for any version of PHP which is
> currently maintained, since 5.3 is EOL, and 5.4 raises a fatal error for
> the first example.
> 
> That actually simplifies things a little bit, because you don't need all
> the caveats about whether the variable is passed by reference or not,
> that's can just be a historical footnote.

I agree, but even then it's a bit tricky, and the doc team seems to be
shorthanded currently.  You may consider to give a helping hand. :)

> If we're not going to make any attempt at accuracy, then rather than
> making cosmetic changes like "int" for "long", we should be adding an
> E_DEPRECATED flag and leaving the function to die quietly.

I guess that might require an RFC.

-- 
Christoph M. Becker


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to