Re: what happened to that new isset() like language
| From: | Arpad Ray | Date: | Sun, 30 Oct 2005 01:16:38 +0000 |
| Subject: | Re: what happened to that new isset() like language | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19841@lists.php.net to get a copy of this message | ||
Bob Silva wrote:
> This makes perfect sense (to me at least):
>
> $localvar = isset($_REQUEST['globalvar'], "default value 1", ...);
>
The obvious problem there being that isset() currently takes multiple
variables as arguments and checks that they're all set. From the manual:
bool isset ( mixed var [, mixed var [, ...]] )
Arpad