On 9/10/07, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote:
>
> I've seen this in the code on that particular line:
>
> $data = fread($file, 1<<20);
>
> 1<<20 ?? I will submit a trac ticket.
>

Not a bug.  << is used as a bitwise operator:

http://www.litfuel.net/tutorials/bitwise.htm

1 << 20 is 1,048,576

So maybe it was just developer short hand for 1 MB?

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to