note 52528 deleted from language.oop5.basic by bjori

From: Date: Wed, 26 Apr 2006 16:49:03 +0000
Subject: note 52528 deleted from language.oop5.basic by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-109772@lists.php.net to get a copy of this message
Note Submitter: tobias_demuth at web dot de ---- Looks like this doesn't work: <?php class Bar { // anything useful } class Foo { private $bar; function __construct($bar = new Bar()) { $this->bar = $bar; } } ?> This breaks with "Unexpected T_NEW in path/to/file anylinenumber". I would say, this is the same effect as in my second note on this page...

« previous php.notes (#109772) next »