Re: new construct

From: Date: Tue, 25 Feb 2003 16:35:11 +0000
Subject: Re: new construct
Groups: php.dev 
Request: Send a blank email to php-dev+get-94561@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... This is done by design, not by 'bugginess'. ~ Andrew Heebner

« previous php.dev (#94561) next »