Re: feature request

From: Date: Mon, 19 Mar 2001 00:33:11 +0000
Subject: Re: feature request
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-49312@lists.php.net to get a copy of this message
Cameron, On Mon, 19 Mar 2001, Cameron wrote: > would be nice if isset would act the same as unset, being able to feed > it more than 1 var at a time > > ie. if ( isset ( $blah1, $blah2 ) ) { blah blah } This is probably a bad idea since isset() needs to return true or false for each argument it receives. (Any other mode of operation is too complicated). This means that you need to return the values for each variable as an array and that each value from the array needs to be tested. This results in more typing than you would previously have been doing and is more computationally intensive. I suggest just stick with the current implementation. Gavin

« previous php.dev (#49312) next »