Possible Duplicate:
Can I override the PHP built-in function echo()?
In languages such as Python, "echo" is not a language construct. Is it possible to shadow the built-in "echo" construct in PHP and implement a function like this:
function echo($value) {
return $value;
}
Here is the error message:
PHP Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting identifier (T_STRING) or '('