Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 558 invoked by uid 1010); 18 Jul 2005 14:30:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 543 invoked from network); 18 Jul 2005 14:30:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2005 14:30:54 -0000 X-Host-Fingerprint: 216.218.201.168 tux.plexpod.net Linux 2.4/2.6 Received: from ([216.218.201.168:54038] helo=tux.plexpod.net) by pb1.pair.com (ecelerity 2.0 beta r(6227M)) with SMTP id A8/6B-61486-D1DBBD24 for ; Mon, 18 Jul 2005 10:30:53 -0400 Received: from dsl254-067-175.nyc1.dsl.speakeasy.net ([216.254.67.175] helo=[192.168.0.4]) by tux.plexpod.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.50) id 1DuWds-00007U-Lg; Mon, 18 Jul 2005 10:30:48 -0400 In-Reply-To: <156DA82B-646B-4642-8905-344CBA066E69@omniti.com> References: <200507181557.23627.Piotr_Roszatycki@netia.net.pl> <156DA82B-646B-4642-8905-344CBA066E69@omniti.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <0CAB6605-9784-4598-B0BF-4A801502F6BE@plexpod.com> Cc: Piotr Roszatycki , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Mon, 18 Jul 2005 10:30:43 -0400 To: George Schlossnagle X-Mailer: Apple Mail (2.730) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - tux.plexpod.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - plexpod.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] mail() into separate extension? From: andrew@plexpod.com (Andrew Yochum) On Jul 18, 2005, at 10:15 AM, George Schlossnagle wrote: > 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 George, Can you please substantiate your statement that drop-in replacements are evil? I could only see them being a problem if they don't fully implement the existing API. Andrew -- Andrew Yochum Plexpod andrew@plexpod.com