Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94112 invoked by uid 1010); 18 Jul 2005 14:15:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94097 invoked from network); 18 Jul 2005 14:15:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2005 14:15:52 -0000 X-Host-Fingerprint: 66.80.117.3 longsword.omniti.com Linux 2.5 (sometimes 2.4) (4) Received: from ([66.80.117.3:33703] helo=mail.omniti.com) by pb1.pair.com (ecelerity 2.0 beta r(6227M)) with SMTP id 1E/CA-61486-799BBD24 for ; Mon, 18 Jul 2005 10:15:52 -0400 DomainKey-Status: good X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=test; d=omniti.com; h=Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:From:Subject:Date:To:X-Mailer; b=fjAiYbY+XRx2vWcVFaH2lr69hXpO0uunXjEj10ZkjpXmXmBlOSNqDfA1CiYSDmoj T1+00a90Ohuo2aC4iSIpy8Eiq8Buk9s1Xjy5dUp2wvMVueNbioqxPVYXg0i9uImY Received: from ([66.80.117.2:60600] helo=[10.80.116.150]) by mail.omniti.com (ecelerity HEAD r(4355M)) with SMTP id EF/37-02265-E89BBD24 for ; Mon, 18 Jul 2005 10:15:46 -0400 In-Reply-To: <200507181557.23627.Piotr_Roszatycki@netia.net.pl> References: <200507181557.23627.Piotr_Roszatycki@netia.net.pl> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: multipart/alternative; boundary=Apple-Mail-10--492466641 Message-ID: <156DA82B-646B-4642-8905-344CBA066E69@omniti.com> Cc: George Schlossnagle , internals@lists.php.net Date: Mon, 18 Jul 2005 10:15:37 -0400 To: Piotr Roszatycki X-Mailer: Apple Mail (2.733) Subject: Re: [PHP-DEV] mail() into separate extension? From: george@omniti.com (George Schlossnagle) --Apple-Mail-10--492466641 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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:Piotr_Roszatycki@netia.net.pl > `. `' mailto:dexter@debian.org > `- > > -- > 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 --Apple-Mail-10--492466641--