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

From: Date: Sat, 26 Aug 2000 12:00:43 +0000
Subject: 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-30726@lists.php.net to get a copy of this message
Hi, > ID: 6352 > Updated by: waldschrott > Reported By: k.reimer@twisd.de > Status: Closed > Bug Type: Reproduceable crash > Assigned To: > Comments: > > Pass-by-reference from call-time is deprecated Sorry, I don't understand this. What is wrong by passing by reference? > and optional > referenced parameters are not implemented, I´ve modified > your script, thus you should be able to figure out, how to > do this in PHP4.... Well, but what about the crash? Is this segfault the correct behaviour to tell me that I'm using a NOT IMPLEMENTED function? And I wonder why this NOT IMPLEMENTED function is working in a lot of cases. Take a look at Bug #6354. In this example I do pretty the same and can reproduce a strange error message if I insert just one line of code that seems to have nothing to do with the problem. > // --- Block 3 begin ------ > $Test2=new CTest2(); > $Test2->addChildren($Test); > $Test2->draw(); > printf("</body></html>"); Great, yeah I know I can do it that way, but I don't like this way. And it is working in the way I am doing it except in some strange situations and that's why I am still sure there must be a bug in PHP and the bug-reports #6352 and #6354 are demonstrating this bug pretty well in form of a strange error message and in form of a segmentation fault. Bye K

« previous php.dev (#30726) next »