note 116402 added to language.oop5.decon

From: Date: Sat, 27 Dec 2014 16:59:05 +0000
Subject: note 116402 added to language.oop5.decon
Groups: php.notes 
Request: Send a blank email to php-notes+get-201264@lists.php.net to get a copy of this message
"For backwards compatibility, if PHP 5 cannot find a __construct() function for a given class, and the class did not inherit one from a parent class, it will search for the old-style constructor function, by the name of the class." This is wrong. Old style constructor is always called if there is no __construct in child class. It doesn't inherit from parent in this case. ---- Server IP: 72.52.91.14 Probable Submitter: 213.197.169.106 ---- Manual Page -- http://php.net/manual/en/language.oop5.decon.php Edit -- https://master.php.net/note/edit/116402 Del: integrated -- https://master.php.net/note/delete/116402/integrated Del: useless -- https://master.php.net/note/delete/116402/useless Del: bad code -- https://master.php.net/note/delete/116402/bad+code Del: spam -- https://master.php.net/note/delete/116402/spam Del: non-english -- https://master.php.net/note/delete/116402/non-english Del: in docs -- https://master.php.net/note/delete/116402/in+docs Del: other reasons-- https://master.php.net/note/delete/116402 Reject -- https://master.php.net/note/reject/116402 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201264) next »