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:
Christoph Michael Becker 2017-01-08 16:25:08 +00:00
parent fdebe6ee64
commit 38d634a6b5

View file

@ -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