Re: can I do this with PHP
| From: | Ignacio Vazquez-Abrams | Date: | Tue, 21 Nov 2000 19:40:13 +0000 |
| Subject: | Re: can I do this with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26500@lists.php.net to get a copy of this message | ||
On Mon, 20 Nov 2000, Martin A. Marques wrote:
> Is somethjing like this posible:
>
> $res1=func1() or {$res2=func2 or die ("something went wrong!")}
>
> What I mean is if I can nest an or inside another with curly backets.
>
> Saludos... :-)
>
$res1=func1() or ($res2=func2 or die ("something went wrong!"))
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>