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?
--
 .''`.    Piotr Roszatycki, Netia SA
: :' :    mailto:[EMAIL PROTECTED]
`. `'     mailto:[EMAIL PROTECTED]
  `-

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



George Schlossnagle

-- Vice President of Engineering
-- OmniTI Computer Consulting
-- http://www.omniti.com

Reply via email to