note 76361 added to language.oop5.decon
| From: | theubaz at gmail dot com | Date: | Wed, 11 Jul 2007 23:35:02 +0000 |
| Subject: | note 76361 added to language.oop5.decon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128396@lists.php.net to get a copy of this message | ||
What you could do is write the constructor without any declared arguments, then iterate through the
arguments given and check their types/values to determine what other function to use as the
constructor.
----
Server IP: 208.69.120.35
Probable Submitter: 72.196.196.208
----
Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php
Edit -- https://master.php.net/note/edit/76361
Del: integrated -- https://master.php.net/note/delete/76361/integrated
Del: useless -- https://master.php.net/note/delete/76361/useless
Del: bad code -- https://master.php.net/note/delete/76361/bad+code
Del: spam -- https://master.php.net/note/delete/76361/spam
Del: non-english -- https://master.php.net/note/delete/76361/non-english
Del: in docs -- https://master.php.net/note/delete/76361/in+docs
Del: other reasons-- https://master.php.net/note/delete/76361
Reject -- https://master.php.net/note/reject/76361
Search -- https://master.php.net/manage/user-notes.php