efulness out of context.
-Original Message-
From: Eric Beaudoin [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 12, 2002 9:10 AM
To: José Nyimi
Cc: [EMAIL PROTECTED]
Subject: Re: Help on syntax
At 12:02 2002.05.12, José Nyimi wrote:
>Hello All,
>
>Could you explain this synt
At 12:02 2002.05.12, José Nyimi wrote:
>Hello All,
>
>Could you explain this syntax please ?
>
>$x ||= $y || '';
>
>Thanks,
>
>José.
>
$a ||= $b is the same as $a = $a || $b;
So your exmaple translate to
$x = $x || $y || '';
This, I think, means that $x take the value of $y if $x is false (u
Hello All,
Could you explain this syntax please ?
$x ||= $y || '';
Thanks,
José.
-
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !