Re: $obj = new foo() patch
| From: | Zeev Suraski | Date: | Fri, 10 Nov 2000 11:59:43 +0000 |
| Subject: | Re: $obj = new foo() patch | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37672@lists.php.net to get a copy of this message | ||
At 13:39 10/11/2000, André Langhorst wrote:
You can't find a counterproof :) There *was* a bug in there. Obviously, it didn't have symptoms under all circumstances, but finding an example that works proves absolutely nothing. PHP 4.0.4 will be the first version of PHP that does not allow you to send anything by reference unless it is a variable (as opposed to a function call return value, for instance). Earlier versions of PHP allowed it, but it didn't necessarily work, and led to data corruption (which perhaps didn't have symptoms under all circumstances). Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/It actually always worked, but only appeared to be working. It could (and almost always did) end up corrupting data structures. In 4.0.4, this is actively detected, and prevented.The counterproof is atteched.