mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #66894: Taking old-style-constructor instead of unified one
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341633 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fdebe6ee64
commit
38d634a6b5
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ $obj = new OtherSubClass();
|
|||
<para>
|
||||
For backwards compatibility with PHP 3 and 4, if PHP cannot find a
|
||||
<link linkend="object.construct">__construct()</link> function for a given
|
||||
class, and the class did not inherit one from a parent class, it will
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue