Searched refs:fgetc (Results 1 – 20 of 20) sorted by path
/PHP-7.4/docs/ |
H A D | streams.md | 40 names: fread, fwrite, fprintf, feof, fgetc, fgets, fclose, fflush, fseek, ftell,
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gdkanji.c | 602 while ((c = fgetc (stdin)) != '\n' && i < BUFSIZ)
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 2820 SPL_METHOD(SplFileObject, fgetc) in SPL_METHOD() argument 3106 SPL_ME(SplFileObject, fgetc, arginfo_splfileinfo_void, ZEND_ACC_PUBLIC)
|
/PHP-7.4/ext/spl/tests/ |
H A D | fileobject_002.phpt | 2 SPL: SplFileObject::fgetc 13 while(($c = $o->fgetc()) !== false)
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 3131 PHP_FE(fgetc, arginfo_fgetc)
|
H A D | file.c | 1062 PHPAPI PHP_FUNCTION(fgetc) in PHP_FUNCTION() argument
|
H A D | file.h | 35 PHPAPI PHP_FUNCTION(fgetc);
|
H A D | iptc.c | 258 fgetc(fp); /* skip already copied 0xFF byte */ in PHP_FUNCTION()
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fgetc_basic.phpt | 2 Test fgetc() function : basic functionality 6 Prototype: string fgetc ( resource $handle ); 12 echo "*** Testing fgetc() : basic operations ***\n"; 65 *** Testing fgetc() : basic operations *** 68 -- Testing fgetc() : file opened using r mode -- 94 -- Testing fgetc() : file opened using rb mode -- 120 -- Testing fgetc() : file opened using rt mode -- 146 -- Testing fgetc() : file opened using r+ mode -- 225 -- Testing fgetc() : file opened using r mode -- 251 -- Testing fgetc() : file opened using rb mode -- [all …]
|
H A D | fgetc_variation1.phpt | 2 Test fgetc() function : usage variations - read when file pointer at EOF 6 Prototype: string fgetc ( resource $handle ); 12 echo "*** Testing fgetc() : usage variations ***\n"; 13 echo "-- Testing fgetc() with file whose file pointer is pointing to EOF --\n"; 32 // seek to end of the file and try fgetc() 36 var_dump( fgetc($file_handle) ); // try n read a char, none expected 50 *** Testing fgetc() : usage variations *** 51 -- Testing fgetc() with file whose file pointer is pointing to EOF --
|
H A D | fgetc_variation2.phpt | 2 Test fgetc() function : usage variations - closed handle 6 Prototype: string fgetc ( resource $handle ); 18 echo "*** Testing fgetc() : usage variations ***\n"; 20 echo "-- Testing fgetc() with closed handle --\n"; 27 var_dump( fgetc($file_handle) ); 29 echo "-- Testing fgetc() with unset handle --\n"; 35 //fgetc using unset handle 36 var_dump( fgetc($file_handle) ); 41 *** Testing fgetc() : usage variations *** 42 -- Testing fgetc() with closed handle -- [all …]
|
H A D | fgetc_variation3.phpt | 2 Test fgetc() function : usage variations - write only modes (Bug #42036) 6 Prototype: string fgetc ( resource $handle ); 10 /* try fgetc on files which are opened in non readable modes 18 echo "*** Testing fgetc() with file opened in write only mode ***\n"; 39 var_dump( fgetc($file_handle) ); // expected : no chars should be read 53 *** Testing fgetc() with file opened in write only mode *** 59 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 68 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 77 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 86 Notice: fgetc(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d [all …]
|
H A D | fgetc_variation4.phpt | 2 Test fgetc() function : usage variations - different read modes 6 Prototype: string fgetc ( resource $handle ); 10 /* read from fie using fgetc, file opened using different 13 echo "*** Testing fgetc() : usage variations ***\n"; 14 echo "-- Testing fgetc() with files opened with different read modes --\n"; 29 $data = "fgetc\n test"; 39 var_dump( fgetc($file_handle) ); // expected : 1 char 54 *** Testing fgetc() : usage variations *** 55 -- 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-7.4/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-7.4/ext/zlib/ |
H A D | zlib.c | 1394 PHP_FALIAS(gzgetc, fgetc, arginfo_gzpassthru)
|
/PHP-7.4/sapi/phpdbg/ |
H A D | create-test.php | 91 $output .= $c = fgetc($pipes[1]);
|
/PHP-7.4/tests/basic/ |
H A D | enable_post_data_reading_05.phpt | 17 echo fgetc($f1), fgetc($f2);
|
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);
|
Completed in 56 milliseconds