Lines Matching refs:fseek
2 Test fseek() function : variation functionality beyond file boundaries
7 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
13 echo "*** Testing fseek() : variation - beyond file boundaries ***\n";
22 echo "--- fseek beyond start of file ---\n";
23 var_dump(fseek($h, -4, SEEK_SET));
25 var_dump(fseek($h, -1, SEEK_CUR));
27 var_dump(fseek($h, -20, SEEK_CUR));
30 echo "--- fseek beyond end of file ---\n";
31 var_dump(fseek($h, 16, SEEK_SET));
33 fseek($h ,0, SEEK_SET);
43 *** Testing fseek() : variation - beyond file boundaries ***
44 --- fseek beyond start of file ---
51 --- fseek beyond end of file ---