note 91912 deleted from language.oop5.decon by thiago
| From: | thiago@php.net | Date: | Wed, 01 Jul 2009 12:16:29 +0000 |
| Subject: | note 91912 deleted from language.oop5.decon by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157756@lists.php.net to get a copy of this message | ||
Note Submitter: benjamin AT josefus DODDLYDOT net
Reason: useless
----
As said above:
"For backwards compatibility, if PHP 5 cannot find a __construct() function for a given class,
it will search for the old-style constructor function, by the name of the class. Effectively, it
means that the only case that would have compatibility issues is if the class had a method named
__construct() which was used for different semantics. "
If you use PHP > version 4, use "__construct()" though. The backward compatibilty could
become deprecated some time!