note 76361 deleted from language.oop5.decon by cmb
| From: | cmb@php.net | Date: | Mon, 18 Mar 2019 10:16:57 +0000 |
| Subject: | note 76361 deleted from language.oop5.decon by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210399@lists.php.net to get a copy of this message | ||
Note Submitter: theubaz at gmail dot com
----
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.