Lines Matching refs:fgets
2 Test fgets() function : usage variations - write only modes (Bug #42036)
6 Prototype: string fgets ( resource $handle [, int $length] );
9 /* try fgets on files which are opened in non readable modes
17 echo "*** Testing fgets() with file opened in write only mode ***\n";
38 var_dump( fgets($file_handle) ); // expected : no chars should be read
52 *** Testing fgets() with file opened in write only mode ***
58 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
67 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
76 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
85 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
103 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
121 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
130 Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d