Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9320 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77144 invoked by uid 1010); 17 Apr 2004 09:24:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77120 invoked from network); 17 Apr 2004 09:24:18 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 17 Apr 2004 09:24:18 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 8465B14880BE; Sat, 17 Apr 2004 02:24:16 -0700 (PDT) Received: from tron (zaneeb.thebrainroom.net [82.133.1.138]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx.thebrainroom.net (Postfix) with SMTP id C139114880B7; Sat, 17 Apr 2004 02:24:12 -0700 (PDT) Message-ID: <014001c4245d$d89fb440$8a02a8c0@tron> To: "Alan Knowles" , "Jason Garber" , References: <5.1.0.14.0.20040417050639.0264ce30@mail.ionzoft.com> <4080F6CC.6070804@akbkhome.com> Date: Sat, 17 Apr 2004 10:24:53 +0100 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_30,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Re: [RFC] ifsetor operator From: wez@thebrainroom.com ("Wez Furlong") This doesn't help anything in the case where the thing isn't set and you don't care that it isn't set, and don't want to call the error handler at all. --Wez. ----- Original Message ----- From: "Alan Knowles" To: "Jason Garber" ; Sent: Saturday, April 17, 2004 10:20 AM Subject: Re: [PHP-DEV] Re: [RFC] ifsetor operator > if you make @ fetch_var it's own opcode, > > - on isset() = true you do a straight return value. .. No touching > error handler etc.. (this should be v.fast) > - on isset() = false you modify the error_handling + do the callback > (this is slow...) > You have effectively solved the performance issue 99% of the time.... > > Regards > Alan