note 54085 added to language.oop5.decon
| From: | Obeliks at osu1 dot php dot net | Date: | Thu, 23 Jun 2005 11:43:48 +0000 |
| Subject: | note 54085 added to language.oop5.decon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90832@lists.php.net to get a copy of this message | ||
In reply to "luancarvalho at terra dot com dot br":
You can also use an constructor without parameters and get the parameters via func_get_args();
Then you can check if it is_int or is_whatever, and process it accordingly.
----
Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54085
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54085&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54085&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54085&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54085&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54085&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54085&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54085&report=yes
Search -- http://master.php.net/manage/user-notes.php