Posted by Michael Jack on 10/11/05 13:32
Hi,
What is the meaning of the | operator?
TIA
"Hilarion" <hilarion@SPAM.op.SMIECI.pl> wrote in
> some_function(($i++ * 2) + 4) | 7);
>
> is equivalent to:
>
> some_function(($i * 2) + 4) | 7); $i += 1;
>
>
> Example for pre-increment operator:
>
> some_function((++$i * 2) + 4) | 7);
>
> is equivalent to:
>
> $i += 1; some_function(($i * 2) + 4) | 7);
>
>
>
> Hilarion
Navigation:
[Reply to this message]
|