note 115444 added to language.oop5.decon
| From: | marvinpetker at gmail dot com | Date: | Wed, 23 Jul 2014 20:34:28 +0000 |
| Subject: | note 115444 added to language.oop5.decon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200046@lists.php.net to get a copy of this message | ||
Despite its casesensetivity PHP will call methods in lower case with the same name as the class as a
constructor.
<?php
class Test{
public function test(){
//This will be called as a counstructor.
}
}
?>
----
Server IP: 212.124.37.9
Probable Submitter: 194.169.217.122
----
Manual Page -- http://php.net/manual/en/language.oop5.decon.php
Edit -- https://master.php.net/note/edit/115444
Del: integrated -- https://master.php.net/note/delete/115444/integrated
Del: useless -- https://master.php.net/note/delete/115444/useless
Del: bad code -- https://master.php.net/note/delete/115444/bad+code
Del: spam -- https://master.php.net/note/delete/115444/spam
Del: non-english -- https://master.php.net/note/delete/115444/non-english
Del: in docs -- https://master.php.net/note/delete/115444/in+docs
Del: other reasons-- https://master.php.net/note/delete/115444
Reject -- https://master.php.net/note/reject/115444
Search -- https://master.php.net/manage/user-notes.php