Lines Matching refs:h
17 $h = fopen($outputfile, "wb+");
19 fwrite($h, chr(0x30 + $i));
23 var_dump(fseek($h, -4, SEEK_SET));
24 echo "after -4 seek: ".bin2hex(fread($h,1))."\n";
25 var_dump(fseek($h, -1, SEEK_CUR));
26 echo "after seek back 1: ".bin2hex(fread($h,1))."\n";
27 var_dump(fseek($h, -20, SEEK_CUR));
28 echo "after seek back 20: ".bin2hex(fread($h,1))."\n";
31 var_dump(fseek($h, 16, SEEK_SET));
32 fwrite($h, "end");
33 fseek($h ,0, SEEK_SET);
34 $data = fread($h, 4096);
37 fclose($h);