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" <[EMAIL PROTECTED]>
To: "Jason Garber" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to