Re: mail() into separate extension?
| From: | George Schlossnagle | Date: | Mon, 18 Jul 2005 14:15:37 +0000 |
| Subject: | Re: mail() into separate extension? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17315@lists.php.net to get a copy of this message | ||
Drop-in replacements are evil. If you want to do this, you should just create a new function that does what you need to do and name it differently. If you're dead-set on doing a name-based replacement, then you should have your extension modify the symbol table directly, but again, this is evil.
George
On Jul 18, 2005, at 9:57 AM, Piotr Roszatycki wrote:
Hi. I'd like to see mail() function in separate extension module. It would be possible to replace i.e. standard `extension=mail.so' with i.e. `extension=sendmail.so'. What do you think? Is it worth to prepare the patch? --George Schlossnagle -- Vice President of Engineering -- OmniTI Computer Consulting -- http://www.omniti.com.''`. Piotr Roszatycki, Netia SA : :' : mailto:Piotr_Roszatycki@netia.net.pl`- --PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php.' mailto:dexter@debian.org