RE: [PHP-DEV] Re: new construct

From: Date: Tue, 25 Feb 2003 16:45:03 +0000
Subject: RE: [PHP-DEV] Re: new construct
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94563@lists.php.net to get a copy of this message
>__construct is the new method of defining a constructor, but >the 'bug' you suspect is not a bug. The parser will search >for a function of the same name in the class as the >constructor for backwards compatibility with Older scripts, etc... But shouldn't __construct() be searched for and used prior to the old-style constructor? Intuitively it seems it should. John

« previous php.dev (#94563) next »