note 16643 deleted from keyword.paamayim-nekudotayim by jimw

From: Date: Thu, 08 Nov 2001 00:07:22 +0000
Subject: note 16643 deleted from keyword.paamayim-nekudotayim by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20580@lists.php.net to get a copy of this message
Actually Apache crashes when PHP is used as a built-in module when I'm doing something like this: class A { // Constructor function A(){ // Do Something } } class B { // Constructor B takes an object-reference function B (&$an_object){ // Do something } } $test=new a(new b()); Segmentation fault (11) This is not dependent on the constructors themselves! The same happens, when doing it like: class A { // Constructor function A(){ // Do Something } } class B { // Constructor function B (){ // Do something } // Method takes an object-reference function notConstructor(&$an_object){ // Do something } } $test=new B(); $test->notConstructor(new A()); I think that PHP can only use references on real existent variables!

« previous php.notes (#20580) next »