Searched refs:fgetc (Results 1 – 24 of 24) sorted by relevance
/PHP-8.0/tests/basic/ |
H A D | enable_post_data_reading_07.phpt | 14 echo fgetc($f1); 16 echo fgetc($f1); 18 echo fgetc($f1); 20 echo fgetc($f1); 22 echo fgetc($f1); 26 echo fgetc($f1); 27 echo fgetc($f2);
|
H A D | enable_post_data_reading_05.phpt | 17 echo fgetc($f1), fgetc($f2);
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | fgetc_variation2.phpt | 2 Test fgetc() function : usage variations - closed handle 5 /* try reading a char using fgetc() using invalid handles 13 echo "*** Testing fgetc() : usage variations ***\n"; 15 echo "-- Testing fgetc() with closed handle --\n"; 23 var_dump( fgetc($file_handle) ); 31 *** Testing fgetc() : usage variations *** 32 -- Testing fgetc() with closed handle -- 33 fgetc(): supplied resource is not a valid stream resource
|
H A D | fgetc_variation3.phpt | 2 Test fgetc() function : usage variations - write only modes (Bug #42036) 9 /* try fgetc on files which are opened in non readable modes 17 echo "*** Testing fgetc() with file opened in write only mode ***\n"; 38 var_dump( fgetc($file_handle) ); // expected : no chars should be read 52 *** Testing fgetc() with file opened in write only mode *** 58 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 67 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 76 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 85 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 94 Notice: fgetc(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d [all …]
|
H A D | fgetc_variation1.phpt | 2 Test fgetc() function : usage variations - read when file pointer at EOF 8 echo "*** Testing fgetc() : usage variations ***\n"; 9 echo "-- Testing fgetc() with file whose file pointer is pointing to EOF --\n"; 28 // seek to end of the file and try fgetc() 32 var_dump( fgetc($file_handle) ); // try n read a char, none expected 46 *** Testing fgetc() : usage variations *** 47 -- Testing fgetc() with file whose file pointer is pointing to EOF --
|
H A D | fgetc_basic.phpt | 2 Test fgetc() function : basic functionality 8 echo "*** Testing fgetc() : basic operations ***\n"; 61 *** Testing fgetc() : basic operations *** 64 -- Testing fgetc() : file opened using r mode -- 90 -- Testing fgetc() : file opened using rb mode -- 116 -- Testing fgetc() : file opened using rt mode -- 142 -- Testing fgetc() : file opened using r+ mode -- 221 -- Testing fgetc() : file opened using r mode -- 247 -- Testing fgetc() : file opened using rb mode -- 273 -- Testing fgetc() : file opened using rt mode -- [all …]
|
H A D | fgetc_variation4.phpt | 2 Test fgetc() function : usage variations - different read modes 5 /* read from fie using fgetc, file opened using different 8 echo "*** Testing fgetc() : usage variations ***\n"; 9 echo "-- Testing fgetc() with files opened with different read modes --\n"; 24 $data = "fgetc\n test"; 34 var_dump( fgetc($file_handle) ); // expected : 1 char 49 *** Testing fgetc() : usage variations *** 50 -- Testing fgetc() with files opened with different read modes --
|
H A D | stream_rfc2397_007.phpt | 25 var_dump(fgetc($fp)); 29 var_dump(fgetc($fp)); 30 var_dump(fgetc($fp)); 38 var_dump(fgetc($fp));
|
/PHP-8.0/ext/spl/tests/ |
H A D | fileobject_002.phpt | 2 SPL: SplFileObject::fgetc 13 while(($c = $o->fgetc()) !== false)
|
/PHP-8.0/ext/zlib/tests/ |
H A D | gzgetc_basic.phpt | 25 echo fgetc( $h );
|
H A D | gzgetc_basic_1.phpt | 23 while (($c = fgetc( $h )) !== false) {
|
/PHP-8.0/sapi/phpdbg/ |
H A D | create-test.php | 89 $output .= $c = fgetc($pipes[1]);
|
/PHP-8.0/ext/zlib/ |
H A D | zlib_arginfo.h | 153 ZEND_FUNCTION(fgetc); 186 ZEND_FALIAS(gzgetc, fgetc, arginfo_gzgetc)
|
/PHP-8.0/ext/standard/ |
H A D | file.h | 28 PHPAPI PHP_FUNCTION(fgetc);
|
H A D | iptc.c | 244 fgetc(fp); /* skip already copied 0xFF byte */ in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 785 function fgetc($stream): string|false {} function
|
H A D | basic_functions_arginfo.h | 2549 ZEND_FUNCTION(fgetc); 3186 ZEND_FE(fgetc, arginfo_fgetc)
|
H A D | file.c | 1060 PHPAPI PHP_FUNCTION(fgetc) in PHP_FUNCTION() argument
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory.stub.php | 236 public function fgetc() {} function in SplFileObject
|
H A D | spl_directory_arginfo.h | 329 ZEND_METHOD(SplFileObject, fgetc); 448 ZEND_ME(SplFileObject, fgetc, arginfo_class_SplFileObject_fgetc, ZEND_ACC_PUBLIC)
|
H A D | spl_directory.c | 2566 PHP_METHOD(SplFileObject, fgetc) in PHP_METHOD() argument
|
/PHP-8.0/ext/opcache/jit/libudis86/ |
H A D | udis86.c | 399 return fgetc(u->inp_file); in inp_file_hook()
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gdkanji.c | 602 while ((c = fgetc (stdin)) != '\n' && i < BUFSIZ)
|
/PHP-8.0/docs/ |
H A D | streams.md | 40 names: fread, fwrite, fprintf, feof, fgetc, fgets, fclose, fflush, fseek, ftell,
|
Completed in 63 milliseconds