Re: Replace a builtin function

From: Date: Thu, 03 Sep 2009 09:30:06 +0000
Subject: Re: Replace a builtin function
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-45457@lists.php.net to get a copy of this message
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

« previous php.internals (#45457) next »