note 41746 rejected from ref.classobj by tomsommer

From: Date: Wed, 21 Apr 2004 15:51:13 +0000
Subject: note 41746 rejected from ref.classobj by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68455@lists.php.net to get a copy of this message
Note Submitter: ch@lathspell.de ---- I noticed that I can write "return 42" in a constructor. Of course this is senseless as the return value is always a reference of the created object so I wonder if this return value has any sideeffects or if it should be generate a syntax warning.

« previous php.notes (#68455) next »