Re: Re: new construct
| From: | Hartmut Holzgraefe | Date: | Tue, 25 Feb 2003 16:44:33 +0000 |
| Subject: | Re: Re: new construct | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94562@lists.php.net to get a copy of this message | ||
Andrew Heebner wrote:
This is done by design, not by 'bugginess'."For backwards compatibility, if the Zend Engine 2.0 cannot find a __construct() function for a given class, it will search for the old-style constructor function, by the name of the class." in the exmaple it uses the 'old style' constructor *although* __construct() could have been found ...? -- Six Offene Systeme GmbH http://www.six.de/ i.A. Hartmut Holzgraefe Email: hartmut@six.de Tel.: +49-711-99091-77 Sie finden uns auf der CeBIT in Halle 6/H44 http://www.six.de/cebit2003/