/hphp/test/slow/string_length_overflow/fread.php
PHP | 8 lines | 7 code | 1 blank | 0 comment | 0 complexity | f498c8edf1d607c4c3909ef97ce29e70 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- <<__EntryPoint>>
- function main_fread() {
- $f = fopen('/dev/zero', 'r');
- fread($f, 1<<32);
- print "Done\n";
- }