Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51429 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37179 invoked from network); 4 Feb 2011 05:06:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2011 05:06:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:37224] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/B2-21221-A398B4D4 for ; Fri, 04 Feb 2011 00:06:03 -0500 Received: by wwb31 with SMTP id 31so2084792wwb.11 for ; Thu, 03 Feb 2011 21:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xv7YGZxv34ofn/SNiiLoJulzxTbL0CtFxbgBJ2cy05M=; b=FZ2w6lCkXFlQV5N6t3giOsrBvEYUpbFTIjO0eU3F27RbVHjJAKYKTUvU7lKGMsUkAX zXbZteHxNZOdX9EnU6UO7NDeK7kPRK9pxeGIQ2tILf3ruzpNh0cs7sjA6k9VXGnDWG41 0NTss0fPeE+rR7P41HT/bIvTzRET46gQ+gvuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZUXDnyZtvBDN6W44hrrEnZjsBSbinr+ayfojX9rDwHVmTHQui79M1+qz/wYrax/2Ew ZCyRuKA3T+vAqDGdPwt3N3IpIXpKnm8mGMAExEt5kwdSyzBXCNnVnGzIS7WzTheOvkYu DUrpsQghbmZpkfpQrtFKU/Rtu1jsyus7EJteM= MIME-Version: 1.0 Received: by 10.216.182.71 with SMTP id n49mr3708686wem.105.1296795960068; Thu, 03 Feb 2011 21:06:00 -0800 (PST) Received: by 10.216.29.21 with HTTP; Thu, 3 Feb 2011 21:06:00 -0800 (PST) In-Reply-To: <4D4B8637.2000807@lerdorf.com> References: <4D4B82DD.9040209@yahoo.com.au> <4D4B8637.2000807@lerdorf.com> Date: Thu, 3 Feb 2011 21:06:00 -0800 Message-ID: To: Rasmus Lerdorf Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] A quick consensus on magic method idea From: chrisstocktonaz@gmail.com (Chris Stockton) Hello, On Thu, Feb 3, 2011 at 8:53 PM, Rasmus Lerdorf wrote: > > This creates problems for opcode caches since the classes are all > precompiled and usually optimized to the point where the opcodes that > loads them are NOP'ed away and you just have the full class table cached > in memory for each op_array. =A0Walking through that class table on every > request and looking for these magic methods to call would be quite > annoying, especially since most of them wouldn't have such a method to > begin with. > That is a good point and something I didn't think about. The pain that would create immediately negates the small luxury it would add. Thanks, -Chris