note 40217 added to ref.overload

From: Date: Wed, 25 Feb 2004 17:58:35 +0000
Subject: note 40217 added to ref.overload
Groups: php.notes 
Request: Send a blank email to php-notes+get-65748@lists.php.net to get a copy of this message
While this is a nice Feature it has nothing to do with Overloading as it is known in other OO-Languages. What this feature does is allowing the dynamic addition of instance variables as e.g in Python. Overloading means defining several methods with the same name in a single class. Which method will be called depends on the number and type of arguments specified. With dynamic and weak typed languages (like PHP) this can of course not work. ---- Manual Page -- http://www.php.net/manual/en/ref.overload.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40217 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40217&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40217&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65748) next »