PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/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
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
  1. <?hh
  2. <<__EntryPoint>>
  3. function main_fread() {
  4. $f = fopen('/dev/zero', 'r');
  5. fread($f, 1<<32);
  6. print "Done\n";
  7. }