note 80307 deleted from language.oop5.decon by bjori

From: Date: Wed, 09 Jan 2008 17:33:06 +0000
Subject: note 80307 deleted from language.oop5.decon by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134975@lists.php.net to get a copy of this message
Note Submitter: Anonymous Reason: bad code ---- Constructors and destructors should always be public because a new Obj () line is effectively an implicit call to __ construct () and it would therefore make no sense for the constructor to be protected or private.

« previous php.notes (#134975) next »