Is there any way in PHP to override the built in functions. As an example, say overriding the echo function so that it automatically adds a '\n' to each call.
Many thanks, Mike.
I had the same question and found this in PHP.net's online manual:
"PHP does not support function overloading, nor is it possible to undefine or redefine previously-declared functions."
http://www.php.net/manual/en/functions.php#functions.user-defined