/PHP-7.4/ |
H A D | README.REDIST.BINS | 256 fscanf. Original code is from TCL8.3.0 and bears the following copyright:
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 2792 ret = fscanf(f, "%lx-%lx %4s %lx %5s %ld %s\n", &start, &end, perm, &offset, dev, &inode, name); in accel_move_code_to_huge_pages() 2799 ret = fscanf(f, "%lx-", &start); in accel_move_code_to_huge_pages()
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 2888 SPL_METHOD(SplFileObject, fscanf) in SPL_METHOD() argument 2900 FileFunctionCall(fscanf, ZEND_NUM_ARGS(), NULL); in SPL_METHOD() 3109 SPL_ME(SplFileObject, fscanf, arginfo_file_object_fscanf, ZEND_ACC_PUBLIC)
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplFileObject_fscanf_basic.phpt | 2 SplFileObject::fscanf function - basic functionality test 6 var_dump($obj->fscanf('%s'));
|
H A D | bug51532.phpt | 2 SPL: Allow valid extension of SplFileObject::fscanf 7 public function fscanf($format, &...$vars) {
|
H A D | bug52573.phpt | 2 Bug #52573 (SplFileObject::fscanf Segmentation fault) 8 var_dump($f->fscanf('<?php // %s', $result)); 10 var_dump($f->fscanf('<?php // %s'));
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 2855 PHP_FE(fscanf, arginfo_fscanf)
|
H A D | file.c | 1139 PHP_FUNCTION(fscanf) in PHP_FUNCTION() argument
|
H A D | file.h | 37 PHP_FUNCTION(fscanf);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fscanf.phpt | 2 fscanf() tests 6 $filename = __DIR__."/fscanf.dat"; 8 var_dump(fscanf()); 9 var_dump(fscanf(array())); 10 var_dump(fscanf(array(), array())); 15 var_dump(fscanf($fp, "%d", $v)); 20 var_dump(fscanf($fp, "%s", $v)); 33 var_dump(fscanf($fp, "", $v, $v1)); 50 var_dump(fscanf($fp, "%s", $v)); 57 var_dump(fscanf($fp, "%s%d", $v)); [all …]
|
H A D | fscanf_error.phpt | 2 Test fscanf() function: error conditions 6 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 10 echo "*** Testing fscanf() for error conditions ***\n"; 21 var_dump( fscanf() ); 27 var_dump( fscanf($file_handle) ); 31 var_dump( fscanf($file_handle, "%s") ); 37 var_dump( fscanf($file_handle, "%d%s%f", $int_var, $string_var) ); 46 // looping to use various invalid formats with fscanf() 51 var_dump( fscanf($file_handle, $format) ); 64 *** Testing fscanf() for error conditions *** [all …]
|
H A D | fscanf_variation1.phpt | 2 Test fscanf() function: usage variations - return type without third argument 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* test fscanf() for its return type */ 15 echo "*** Testing fscanf(): for its return type without third argument ***\n"; 28 // capturing the return value from fscanf() called without third argument 29 $return_value = fscanf($file_handle, "%s"); 42 *** Testing fscanf(): for its return type without third argument ***
|
H A D | fscanf_variation10.phpt | 2 Test fscanf() function: usage variations - float formats with resource 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan resource type using different float format types */ 15 echo "*** Test fscanf(): different float format types with resource ***\n"; 64 var_dump( fscanf($file_handle,$float_format) ); 82 *** Test fscanf(): different float format types with resource *** 152 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 155 Warning: fscanf(): Bad scan conversion character " " in %s on line %d
|
H A D | fscanf_variation11.phpt | 2 Test fscanf() function: usage variations - float formats with arrays 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan arrays using different float format types */ 15 echo "*** Test fscanf(): different float format types with arrays ***\n"; 69 var_dump( fscanf($file_handle,$float_format) ); 83 *** Test fscanf(): different float format types with arrays *** 393 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 396 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 399 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 402 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation12.phpt | 2 Test fscanf() function: usage variations - float formats with strings 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan strings using different float format types */ 15 echo "*** Test fscanf(): different float format types with strings ***\n"; 70 var_dump( fscanf($file_handle,$float_format) ); 84 *** Test fscanf(): different float format types with strings *** 502 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 505 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 508 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 511 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation13.phpt | 2 Test fscanf() function: usage variations - float formats with boolean 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan boolean data using different float format types */ 15 echo "*** Test fscanf(): different float format types with boolean data ***\n"; 56 var_dump( fscanf($file_handle,$float_format) ); 70 *** Test fscanf(): different float format types with boolean data *** 152 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 155 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 158 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 161 Warning: fscanf(): Bad scan conversion character " " in %s on line %d
|
H A D | fscanf_variation14.phpt | 2 Test fscanf() function: usage variations - string formats with strings 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 98 var_dump( fscanf($file_handle,$string_format) ); 566 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 569 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 572 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 575 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 578 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 581 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 584 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation15.phpt | 2 Test fscanf() function: usage variations - string formats with float values 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan float values using different string format types */ 72 var_dump( fscanf($file_handle,$string_format) ); 86 *** Test fscanf(): different string format types with float values *** 468 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 471 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 474 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 477 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 480 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation16.phpt | 2 Test fscanf() function: usage variations - string formats with resource 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan resource type using different string format types */ 15 echo "*** Test fscanf(): different string format types with resource ***\n"; 63 var_dump( fscanf($file_handle,$string_format) ); 81 *** Test fscanf(): different string format types with resource *** 151 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 154 Warning: fscanf(): Bad scan conversion character " " in %s on line %d
|
H A D | fscanf_variation17.phpt | 2 Test fscanf() function: usage variations - string formats with arrays 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan arrays using different string format types */ 15 echo "*** Test fscanf(): different string format types with arrays ***\n"; 68 var_dump( fscanf($file_handle,$string_format) ); 82 *** Test fscanf(): different string format types with arrays *** 392 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 395 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 398 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 401 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation18.phpt | 2 Test fscanf() function: usage variations - string formats with integer values 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan integer values using different string format types */ 76 var_dump( fscanf($file_handle,$string_format) ); 544 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 547 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 550 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 553 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 556 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 559 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation19.phpt | 2 Test fscanf() function: usage variations - string formats with boolean 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan boolean data using different string format types */ 15 echo "*** Test fscanf(): different string format types with boolean data ***\n"; 60 var_dump( fscanf($file_handle,$string_format) ); 74 *** Test fscanf(): different string format types with boolean data *** 156 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 159 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 162 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 165 Warning: fscanf(): Bad scan conversion character " " in %s on line %d
|
H A D | fscanf_variation2.phpt | 2 Test fscanf() function: usage variations - integer formats with integer values 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 70 var_dump( fscanf($file_handle,$int_format) ); 538 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 541 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 544 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 547 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 550 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 553 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 556 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation20.phpt | 2 Test fscanf() function: usage variations - char formats with integer values 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 74 var_dump( fscanf($file_handle,$char_format) ); 542 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 545 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 548 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 551 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 554 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 557 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 560 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|
H A D | fscanf_variation21.phpt | 2 Test fscanf() function: usage variations - char formats with float values 7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); 11 /* Test fscanf() to scan float values using different char format types */ 72 var_dump( fscanf($file_handle,$char_format) ); 86 *** Test fscanf(): different char format types with float values *** 468 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 471 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 474 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 477 Warning: fscanf(): Bad scan conversion character " " in %s on line %d 480 Warning: fscanf(): Bad scan conversion character " " in %s on line %d [all …]
|