/hphp/test/slow/string_length_overflow/fread.php
http://github.com/facebook/hiphop-php · PHP · 8 lines · 7 code · 1 blank · 0 comment · 0 complexity · f498c8edf1d607c4c3909ef97ce29e70 MD5 · raw file
- <?hh
- <<__EntryPoint>>
- function main_fread() {
- $f = fopen('/dev/zero', 'r');
- fread($f, 1<<32);
- print "Done\n";
- }