Re: Replace a builtin function
| From: | Johannes Schlüter | Date: | Thu, 03 Sep 2009 09:25:08 +0000 |
| Subject: | Re: Replace a builtin function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45456@lists.php.net to get a copy of this message | ||
Hi,
On Thu, 2009-09-03 at 11:12 +0200, Aron Szabo wrote:
> Hello!
>
> Is it possible to replace an existing PHP function ( like mail() ) in an
> extension.
Look for the implementation of disable_functions.
(zend_disable_function() in zend_API.c)
johannes