note 88481 added to language.oop5.overloading

From: Date: Mon, 26 Jan 2009 16:20:39 +0000
Subject: note 88481 added to language.oop5.overloading
Groups: php.notes 
Request: Send a blank email to php-notes+get-149783@lists.php.net to get a copy of this message
Just a note in the interest of sparing people some confusion if they are coming from or reading about other object-oriented languages: Object "overloading" in PHP has nothing to do with overloading as it is commonly understood. Normally, "overloading" refers to the ability to declare multiple functions with the same name, which get called based on the number/type of parameters -- this does not exist in PHP. In PHP, "overloading" is just a mechanism for providing handlers for access to missing methods/variables. ---- Server IP: 209.41.74.194 Probable Submitter: 67.165.183.32 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.overloading.php Edit -- https://master.php.net/note/edit/88481 Del: integrated -- https://master.php.net/note/delete/88481/integrated Del: useless -- https://master.php.net/note/delete/88481/useless Del: bad code -- https://master.php.net/note/delete/88481/bad+code Del: spam -- https://master.php.net/note/delete/88481/spam Del: non-english -- https://master.php.net/note/delete/88481/non-english Del: in docs -- https://master.php.net/note/delete/88481/in+docs Del: other reasons-- https://master.php.net/note/delete/88481 Reject -- https://master.php.net/note/reject/88481 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149783) next »