|
Posted by C. (http://symcbean.blogspot.c on July 6, 2008, 6:57 am
Please log in for more thread options wrote:
> Iv=E1n S=E1nchez Ortega schrieb:
>
> > Derik wrote:
>
> >> if ($b[$a]) $a=3D$b[$a]
>
> > $a =3D $b[$a] || $a;
>
> Nope. This would return a Boolean in PHP. (In JavaScript or Python it
> would work, though.)
>
> Greetings,
> Thomas
>
> --
> Ce n'est pas parce qu'ils sont nombreux =E0 avoir tort qu'ils ont raison!
> (Coluche)
($a=3D$b[$a]) || ($a=3D'first');
C.
|