Home
last modified time | relevance | path

Searched refs:is_numeric (Results 1 – 15 of 15) sorted by relevance

/PHP-7.4/ext/standard/tests/general_functions/
H A Dis_numeric.phpt2 Test is_numeric() function
5 /* Prototype: bool is_numeric ( mixed $var );
9 echo "*** Testing is_numeric() with valid numeric values ***\n";
90 /* loop to check that is_numeric() recognizes different
95 var_dump( is_numeric($num) );
98 echo "\n*** Testing is_numeric() on non numeric types ***\n";
145 var_dump( is_numeric($type) );
150 var_dump( is_numeric() );
153 var_dump( is_numeric("10", "20") );
163 *** Testing is_numeric() with valid numeric values ***
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_filter_variation10.phpt47 var_dump(array_filter($mixed, 'is_numeric', ARRAY_FILTER_USE_KEY));
49 var_dump(array_filter($mixed, 'is_numeric', 0));
51 var_dump(array_filter($mixed, 'is_numeric', ARRAY_FILTER_USE_BOTH));
92 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 48
94 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 48
96 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 48
98 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 48
/PHP-7.4/ext/standard/
H A Dphp_type.h33 PHP_FUNCTION(is_numeric);
H A Dtype.c305 PHP_FUNCTION(is_numeric) in PHP_FUNCTION() argument
H A Dbasic_functions.c3113 PHP_FE(is_numeric, arginfo_is_numeric)
/PHP-7.4/ext/intl/collator/
H A Dcollator_convert.c348 int is_numeric = 0; in collator_convert_string_to_number_if_possible() local
357 …if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval… in collator_convert_string_to_number_if_possible()
359 if( is_numeric == IS_LONG ) { in collator_convert_string_to_number_if_possible()
362 if( is_numeric == IS_DOUBLE ) in collator_convert_string_to_number_if_possible()
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_class.c183 zend_bool is_numeric = 0; in resourcebundle_array_fetch() local
191 is_numeric = 1; in resourcebundle_array_fetch()
205 if (is_numeric) { in resourcebundle_array_fetch()
218 if (is_numeric) { in resourcebundle_array_fetch()
/PHP-7.4/Zend/tests/
H A Dbug68215.phpt31 if (!is_numeric($key))
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_result_meta.c83 if ((meta->fields[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet.metadata->sname, idx))) { in MYSQLND_METHOD()
164 new_fields[i].is_numeric = orig_fields[i].is_numeric; in MYSQLND_METHOD()
H A Dmysqlnd_result.c862 if (meta->fields[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1122 if (meta->fields[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1219 if (meta->fields[i].is_numeric == FALSE) { in MYSQLND_METHOD()
H A Dmysqlnd_structs.h84 zend_bool is_numeric; member
/PHP-7.4/ext/snmp/tests/
H A Dsnmp_getvalue.phpt50 var_dump(is_numeric($z->value));
/PHP-7.4/sapi/fpm/tests/
H A Dstatus.inc190 if (is_numeric($value) || $value === '\d+') {
H A Dtester.inc641 if (is_numeric($requests)) {
1093 if (!is_numeric($pidContent)) {
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php261 if (is_numeric($v))

Completed in 55 milliseconds