note 89093 added to overload.examples.basic
| From: | php dot net at matthias dot loitsch dot com | Date: | Sat, 21 Feb 2009 15:32:42 +0000 |
| Subject: | note 89093 added to overload.examples.basic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150915@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 192.35.244.50
Probable Submitter: 62.178.189.223
----
Manual Page -- http://www.php.net/manual/en/overload.examples.basic.php
Edit -- https://master.php.net/note/edit/89093
Del: integrated -- https://master.php.net/note/delete/89093/integrated
Del: useless -- https://master.php.net/note/delete/89093/useless
Del: bad code -- https://master.php.net/note/delete/89093/bad+code
Del: spam -- https://master.php.net/note/delete/89093/spam
Del: non-english -- https://master.php.net/note/delete/89093/non-english
Del: in docs -- https://master.php.net/note/delete/89093/in+docs
Del: other reasons-- https://master.php.net/note/delete/89093
Reject -- https://master.php.net/note/reject/89093
Search -- https://master.php.net/manage/user-notes.php