Re: ref fix revisited
| From: | Derick Rethans | Date: | Mon, 12 Sep 2005 15:07:05 +0000 |
| Subject: | Re: ref fix revisited | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18803@lists.php.net to get a copy of this message | ||
On Mon, 12 Sep 2005, Zeev Suraski wrote:
> I don't really agree that it's out of whack, since you are passing a piece of
> data by reference, which is an undefined behavior. I agree that it would have
> been nice if we could allow for this and only complain if the data is written
> to in the function (in the PHP spirit of 'just work!'), but I don't see how
> that would be possible.
Works for PHP 4.4 just fine with a notice...
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org