PHP doesn't natively support function redefining.
Functions with variable length arguments are a different ballgame in
PHP. Have a look at func_num_args[1] and the other functions in the
"Function handling" section of the manual.
1: http://php.net/func_num_args
Labunski wrote:
> "PHP does not
Thank you very much. This is exactly what I wanted to do.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If all you want to do is pass an unknown number of arguments to a function,
this looks like it demonstrates what you're doing:
Found it at:
http://www.php.net/manual/en/function.func-num-args.php
= = = Original message = = =
"PHP does not support function overloading."
So, is there any othe
3 matches
Mail list logo