/PHP-5.4/sapi/caudium/ |
H A D | config.m4 | 28 …if $PIKE -e 'float v; int rel;sscanf(version(), "Pike v%f release %d", v, rel);v += rel/10000.0; i… 51 …PIKE_TEST_VER=`$PIKE -e 'string v; int rel;sscanf(version(), "Pike v%s release %d", v, rel); write… 84 …PIKE_VERSION=`$PIKE -e 'string v; int rel;sscanf(version(), "Pike v%s release %d", v, rel); write(…
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | sscanf_basic1.phpt | 2 Test sscanf() function : basic functionality - string format 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 * Testing sscanf() : basic functionality 14 echo "*** Testing sscanf() : basic functionality - using string format ***\n"; 21 list($part, $number, $stock) = sscanf($str, $format); 26 $res = sscanf($str, $format, $part, $number, $stock); 32 *** Testing sscanf() : basic functionality - using string format ***
|
H A D | sscanf_basic2.phpt | 2 Test sscanf() function : basic functionality - integer format 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 * Testing sscanf() : basic functionality 14 echo "*** Testing sscanf() : basic functionality - using integer format ***\n"; 21 list($part, $number, $stock) = sscanf($str, $format); 26 $res = sscanf($str, $format, $part, $number, $stock); 32 *** Testing sscanf() : basic functionality - using integer format ***
|
H A D | sscanf_basic3.phpt | 2 Test sscanf() function : basic functionality - float format 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 echo "*** Testing sscanf() : basic functionality -- using float format ***\n"; 18 list($part, $length, $width, $depth) = sscanf($str, $format); 23 $res = sscanf($str, $format, $part, $length, $width, $depth); 29 *** Testing sscanf() : basic functionality -- using float format ***
|
H A D | sscanf_basic4.phpt | 2 Test sscanf() function : basic functionality - char format 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 echo "*** Testing sscanf() : basic functionality - using char format ***\n"; 18 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4); 29 *** Testing sscanf() : basic functionality - using char format ***
|
H A D | sscanf_basic6.phpt | 2 Test sscanf() function : basic functionality - unsigned format 12 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 17 echo "*** Testing sscanf() : basic functionality - using unsigned format ***\n"; 24 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 29 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 35 *** Testing sscanf() : basic functionality - using unsigned format ***
|
H A D | sscanf_variation2.phpt | 2 Test sscanf() function : usage variations - unexpected inputs for '$format' argument 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 10 echo "*** Testing sscanf() function: with unexpected inputs for 'format' argument ***\n"; 72 // loop through with each element of the $inputs array to test sscanf() function 76 var_dump( sscanf($str, $input) ); 85 *** Testing sscanf() function: with unexpected inputs for 'format' argument *** 112 Warning: sscanf() expects parameter 2 to be string, array given in %s on line %d 116 Warning: sscanf() expects parameter 2 to be string, array given in %s on line %d 120 Warning: sscanf() expects parameter 2 to be string, array given in %s on line %d 145 Warning: sscanf() expects parameter 2 to be string, resource given in %s on line %d
|
H A D | sscanf_basic5.phpt | 2 Test sscanf() function : basic functionality - exponential format 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 echo "*** Testing sscanf() : basic functionality -using exponential format ***\n"; 19 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format1); 21 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format2); 26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4); 28 $res = sscanf($str, $format2,$arg1, $arg2, $arg3, $arg4); 35 *** Testing sscanf() : basic functionality -using exponential format ***
|
H A D | sscanf_basic7.phpt | 2 Test sscanf() function : basic functionality - octal format 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 echo "*** Testing sscanf() : basic functionality - using octal format ***\n"; 18 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 29 *** Testing sscanf() : basic functionality - using octal format ***
|
H A D | sscanf_basic8.phpt | 2 Test sscanf() function : basic functionality - hexadecimal format 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 11 echo "*** Testing sscanf() : basic functionality - - using hexadecimal format ***\n"; 19 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format1); 21 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format2); 26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 28 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 34 *** Testing sscanf() : basic functionality - - using hexadecimal format ***
|
H A D | sscanf_error.phpt | 2 Test sscanf() function : error conditions 10 echo "*** Testing sscanf() : error conditions ***\n"; 15 echo "\n-- Testing sscanf() function with no arguments --\n"; 16 var_dump( sscanf() ); 18 echo "\n-- Testing sscanf() function with one argument --\n"; 19 var_dump( sscanf($str) ); 23 var_dump( sscanf($str, $format, $str1, $str2, $extra_str) ); 28 *** Testing sscanf() : error conditions *** 30 -- Testing sscanf() function with no arguments -- 35 -- Testing sscanf() function with one argument -- [all …]
|
H A D | sscanf_variation1.phpt | 2 Test sscanf() function : usage variations - unexpected inputs for '$str' argument 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 10 echo "*** Testing sscanf() function: with unexpected inputs for 'str' argument ***\n"; 72 // loop through with each element of the $inputs array to test sscanf() function 76 var_dump( sscanf($input, $format) ); 85 *** Testing sscanf() function: with unexpected inputs for 'str' argument *** 128 Warning: sscanf() expects parameter 1 to be string, array given in %s on line %d 132 Warning: sscanf() expects parameter 1 to be string, array given in %s on line %d 136 Warning: sscanf() expects parameter 1 to be string, array given in %s on line %d 163 Warning: sscanf() expects parameter 1 to be string, resource given in %s on line %d
|
H A D | bug42107.phpt | 2 Bug #42107 (sscanf() broken when using %2$s type format parameters) 6 var_dump(sscanf('one two', '%1$s %2$s')); 7 var_dump(sscanf('one two', '%2$s %1$s')); 9 sscanf('one two', '%1$s %2$s', $foo, $bar); 11 sscanf('one two', '%2$s %1$s', $foo, $bar); 14 var_dump(sscanf('one two', '%1$d %2$d')); 15 var_dump(sscanf('one two', '%1$d'));
|
H A D | bug38322.phpt | 2 Bug #38322 (reading past array in sscanf() leads to segfault/arbitrary code execution) 7 var_dump(sscanf("a ",'%1$s',$str));
|
/PHP-5.4/ext/standard/ |
H A D | string.c | 5361 PHP_FUNCTION(sscanf) argument
|
H A D | php_string.h | 90 PHP_FUNCTION(sscanf);
|
H A D | image.c | 1030 if (sscanf(fline, "#define %s %d", iname, &value) == 2) { in php_get_xbm()
|
H A D | ftp_fopen_wrapper.c | 846 …n = sscanf(p, "%4u%2u%2u%2u%2u%2u", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min,… in php_stream_ftp_url_stat()
|
H A D | basic_functions.c | 2812 PHP_FE(sscanf, arginfo_sscanf)
|
/PHP-5.4/ext/soap/ |
H A D | php_http.c | 1349 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body()
|
/PHP-5.4/ext/interbase/ |
H A D | ibase_blobs.c | 60 return sscanf(id, BLOB_ID_MASK, (ISC_UINT64 *) qd); in _php_ibase_string_to_quad() 63 if (sscanf(id, BLOB_ID_MASK, &res)) { in _php_ibase_string_to_quad()
|
H A D | ibase_query.c | 513 if (!sscanf(Z_STRVAL_P(val), "%Lf", &l)) { in _php_ibase_bind_array() 560 if (!sscanf(Z_STRVAL_P(val), "%" LL_MASK "d", &l)) { in _php_ibase_bind_array() 582 n = sscanf(Z_STRVAL_P(val), "%d%*[/]%d%*[/]%d %d%*[:]%d%*[:]%d", in _php_ibase_bind_array() 600 n = sscanf(Z_STRVAL_P(val), "%d%*[/]%d%*[/]%d", &t.tm_mon, &t.tm_mday, &t.tm_year); in _php_ibase_bind_array() 617 n = sscanf(Z_STRVAL_P(val), "%d%*[:]%d%*[:]%d", &t.tm_hour, &t.tm_min, &t.tm_sec); in _php_ibase_bind_array()
|
/PHP-5.4/ext/gd/libgd/ |
H A D | xbm.c | 56 if (sscanf(fline, "#define %s %d", iname, &value) == 2) { in gdImageCreateFromXbm() 70 if ( sscanf(fline, "static unsigned char %s = {", iname) == 1 in gdImageCreateFromXbm() 71 || sscanf(fline, "static char %s = {", iname) == 1) in gdImageCreateFromXbm() 74 } else if (sscanf(fline, "static unsigned short %s = {", iname) == 1 in gdImageCreateFromXbm() 75 || sscanf(fline, "static short %s = {", iname) == 1) in gdImageCreateFromXbm() 138 sscanf(h, "%x", &b); in gdImageCreateFromXbm()
|
/PHP-5.4/ext/ftp/ |
H A D | ftp.c | 773 n = sscanf(ptr, "%lu,%lu,%lu,%lu,%lu,%lu", &b[0], &b[1], &b[2], &b[3], &b[4], &b[5]); in ftp_pasv() 1006 …n = sscanf(ptr, "%4u%2u%2u%2u%2u%2u", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_mi… in ftp_mdtm()
|
/PHP-5.4/ext/com_dotnet/ |
H A D | com_typeinfo.c | 126 if (2 != sscanf(version, "%d.%d", &major_tmp, &minor_tmp)) { in php_com_load_typelib()
|