Re: what happened to that new isset() like language
| From: | Marcus Boerger | Date: | Sat, 10 Jul 2004 00:02:26 +0000 |
| Subject: | Re: what happened to that new isset() like language | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11053@lists.php.net to get a copy of this message | ||
Hello Marc,
you can use my patch to test....
The second parameter can be any expression. Hence another
ifsetor() should be possible (if not we'd fix that).
marcus
Friday, July 9, 2004, 8:48:12 PM, you wrote:
> Marcus, or anyone else familiar enough with the engine,
> Just to clarify, do you see an inherent technical problem with nesting
> ifsetor() function calls?
> $user = ifsetor($_SESSION['user'], ifsetor($_POST['user'], NULL));
> or is the problem only with accepting a list of parameters:
> $user = ifsetor($_SESSION['user'], $_POST['user'], NULL);
> Marc
--
Best regards,
Marcus mailto:helly@php.net