Re: [PHP-DEV] allow_call_time_pass_reference
by Hannes Magnusson other posts by this author
May 8 2008 1:59PM messages near this date
Re: [PHP-DEV] allow_call_time_pass_reference
|
Re: [PHP-DEV] allow_call_time_pass_reference
On Thu, May 8, 2008 at 10:08 PM, Todd Ruth <truth@[...].com> wrote:
> On Thu, 2008-05-08 at 20:28 +0100, Steph Fox wrote:
> > ...
> > Does anyone have a good reason for keeping it switched on by default in PHP
> > 5.3? Like, would switching it off by default break a lot of existing code,
> > given that most users are a bit beyond PHP 3 now?
>
> Well, I can at least comment on how it is used in the code that
> I inherited. First it must be noted that the following throws
> a fatal error:
>
> function f(&$x=5) { ....
No it doesn't.
That line does however not work exactly as you would expect..
-Hannes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Steph Fox
Hector Santos
Steph Fox
Steph Fox
Steph Fox
Hector Santos
Hannes Magnusson
Todd Ruth
Hannes Magnusson
Todd Ruth
Steph Fox
Steph Fox
Stanislav Malyshev
|