FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Function Overload

 


D'Artagnan
Ok ... it's looks pretty easy to find at google but i'm not believing in the resulsts...

Its True that PHP hadn't Function Overloading and that method overlading is just a workaround?
arch23
yes.

http://www.php.net/manual/en/language.functions.php

Quote:
PHP does not support function overloading, nor is it possible to undefine or redefine previously-declared functions.

Note: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration.


see it just above example 17-4.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.