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

-- 
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to