Re: Re: Please reconsider supporting PHP 5.2
| From: | Reindl Harald | Date: | Sun, 25 Jul 2010 10:45:49 +0000 |
| Subject: | Re: Re: Please reconsider supporting PHP 5.2 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49143@lists.php.net to get a copy of this message | ||
Am 25.07.2010 11:44, schrieb Karoly Negyesi:
>>> Where previously the function would accept the by-value argument, a
>>> fatal error is now emitted.
>
>> Not sure about this one. Do you have an example please?
>
> Erm, you do realized that I copied that from the handbook page? Example:
>
> <?php
> function a(&$x) {}
> a(NULL);
> ?>
> PHP Fatal error: Only variables can be passed by reference in
> /var/www/u/sites/all/modules/awesomerelationships/x.php on line 4
Thanks god that tis happens to force developers to work clean
NULL is not a reference so th real error os that such things
ever worked
> Extensions. APC to this day does not have a stable release for PHP
> 5.3. Neither has XCache. I am not even sure how do you imagine
> *anyone* much less everyone upgrading to 5.3 with a production site
> without a stable code cache...?
That is not a php-problem and http://eaccelerator.net/ works
> Also note xdebug has a PHP 5.3 compatible release for less than a month.
the question is not how long, the question is does it have