Sorry forgot about the heredoc, just waste my post unterneath

--
 Dennis

"Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Rich Fox" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Can someone point me to documentation on the <<< operator? I am
> wondering if
> > there are some quirks I don't know about. Yet I can't find it
> documented on
> > the php website.
> >
> > THanks,
> >
> > Rich
>
> I've never seen a <<< operator.
> Do you mean << (shl, shift left)?
> shift left means each step multiplying by 2:
> $a = 4;
> $s = 2;
> $value = $a << 1; // $a * 2
> $value = $s << 2; // $s * 4
> $value = $a << 4; // $a * 16
>
> This is explained under
> http://ww.php.net/manual/en/language.operators.bitwise.php
>
> --
>  Dennis

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to