Re: RE: PHP 4.0 Bug #6352 Updated: Crash while using references and classes

From: Date: Sat, 26 Aug 2000 12:11:46 +0000
Subject: Re: RE: PHP 4.0 Bug #6352 Updated: Crash while using references and classes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-30728@lists.php.net to get a copy of this message
KR>> > Pass-by-reference from call-time is deprecated KR>> KR>> Sorry, I don't understand this. What is wrong by passing by reference? you don't do: function f($a) { ... } f(&$var); you do: function f(&$a) { ... } f($var); KR>> Well, but what about the crash? Is this segfault the correct KR>> behaviour to tell me that I'm using a NOT IMPLEMENTED KR>> function? And I wonder why this NOT IMPLEMENTED function is No it isn't. There's only one case where PHP is allowed to crash - infinite recursion. Any other case of a crash is a bug. -- Stanislav Malyshev stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106

« previous php.dev (#30728) next »