note 89093 deleted from overload.examples.basic by danbrown
| From: | danbrown@php.net | Date: | Sat, 21 Feb 2009 17:21:37 +0000 |
| Subject: | note 89093 deleted from overload.examples.basic by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150919@lists.php.net to get a copy of this message | ||
Note Submitter: php dot net at matthias dot loitsch dot com
----
It is important to note that PHP overloading is *not* what you might expect it to be.
PHP named the possibilty of handling undefined methods and parameters 'overloading', which
is quite confusing.
In object oriented languages overloading is the multipe definition of a method with the same name
but different arguments.
This is still not possible in PHP.