Overwriting (internal) functions
| From: | Wico de Leeuw | Date: | Fri, 25 Aug 2000 07:54:28 +0000 |
| Subject: | Overwriting (internal) functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30593@lists.php.net to get a copy of this message | ||
Hiya
Is there a way (or is it easy to make/programm) to overwrite (internal) functions and calling the original function afterwards
like:
function Die ($messy = "") {
// do somthing
old_die($messy)
}
or
function Echo ($messy) {
// put into socket and not on display (or both)
}
And ofcourse user diefiend functions
Greetz,
Wico