Re: Re: [RFC] ifsetor operator

From: Date: Sat, 17 Apr 2004 09:24:53 +0000
Subject: Re: Re: [RFC] ifsetor operator
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-9320@lists.php.net to get a copy of this message
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" <alan@akbkhome.com> To: "Jason Garber" <jason@ionzoft.com>; <internals@lists.php.net> 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

« previous php.internals (#9320) next »