I would like to redefine certain functions in PHP that are already built for example, echo() or time() – I don’t need to define these functions globally, just within a single script for testing.
I think this can be done in Perl but in PHP – Is this possible?
Note: By default, only userspace functions may be removed, renamed, or