note 88481 deleted from language.oop5.overloading by danielc
| From: | danielc@php.net | Date: | Fri, 28 Aug 2009 02:46:21 +0000 |
| Subject: | note 88481 deleted from language.oop5.overloading by danielc | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-159970@lists.php.net to get a copy of this message | ||
Note Submitter: maciej at killer-robot dot net
Reason: 5
----
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.