Date: 11/10/00
- Next message: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP-QA] $obj = new foo() patch"
- In reply to: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Next in thread: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Reply: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 13:39 10/11/2000, André Langhorst wrote:
>>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.
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 <email protected>> http://www.zend.com/
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP-QA] $obj = new foo() patch"
- In reply to: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Next in thread: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Reply: André Langhorst: "Re: [PHP-DEV] $obj = new foo() patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

