Re: Replace a builtin function
| From: | Aron Szabo | Date: | Thu, 03 Sep 2009 09:33:28 +0000 |
| Subject: | Re: Replace a builtin function | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45458@lists.php.net to get a copy of this message | ||
Thanks Johannes & Derick ! I see the light now :D
Yours,
Aron
Derick Rethans wrote:
On Thu, 3 Sep 2009, Aron Szabo wrote:Hello! Is it possible to replace an existing PHP function ( like mail() ) in an extension. I've been patching PHP to have a custom mail() function, but I think replacing the mail function with an extension would be better and will save a lot of time. Can somebody give me a clue or an extension that replaces a built-in function so I can study it ?Search for "set_time_limit" or "var_dump" at http://cvs.xdebug.org/cgi-bin/viewvc.cgi/xdebug/xdebug.c?revision=1.455&view=markup regards, Derick