Re: Re: Allowing is_* functions to accept multiple parameters

From: Date: Wed, 18 Sep 2013 19:57:27 +0000
Subject: Re: Re: Allowing is_* functions to accept multiple parameters
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 18 September 2013 18:50, Bob Weinand <[email protected]> wrote:
> At least, from a technical point, evaluating LTR would require to change the engine
> (would be some more complex change as it would require to switch between contexts
> and being able to execute the ZEND_SEND_VAL opcodes one by one

Feels like you're overthinking it?

Plan was to allow any is_* function to be called as normal (SEND_VAR,
SEND_VAR ... FCALL), then iterate over the supplied arguments inside
the function and return false at the first failure, emulating the
boolean short circuit.


Thread (19 messages)

« previous php.internals (#69214) next »