Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/general_functions/
H A Dis_numeric.phpt2 Test is_numeric() function
5 echo "*** Testing is_numeric() with valid numeric values ***\n";
88 /* loop to check that is_numeric() recognizes different
93 var_dump( is_numeric($num) );
96 echo "\n*** Testing is_numeric() on non numeric types ***\n";
138 is_numeric() on non numeric values, expected output: bool(false) */
142 var_dump( is_numeric($type) );
153 *** Testing is_numeric() with valid numeric values ***
311 *** Testing is_numeric() on non numeric types ***
/PHP-8.1/ext/standard/tests/array/
H A Darray_filter_variation10.phpt42 var_dump(array_filter($mixed, 'is_numeric', ARRAY_FILTER_USE_KEY));
44 var_dump(array_filter($mixed, 'is_numeric', 0));
47 var_dump(array_filter($mixed, 'is_numeric', ARRAY_FILTER_USE_BOTH));
90 is_numeric() expects exactly 1 argument, 2 given
/PHP-8.1/ext/intl/collator/
H A Dcollator_convert.c311 zend_uchar is_numeric = 0; in collator_convert_string_to_number_if_possible() local
320 …if ( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lva… in collator_convert_string_to_number_if_possible()
322 if( is_numeric == IS_LONG ) { in collator_convert_string_to_number_if_possible()
325 if( is_numeric == IS_DOUBLE ) in collator_convert_string_to_number_if_possible()
/PHP-8.1/ext/opcache/tests/jit/
H A Dinc_024.phpt16 while (is_numeric($a)) {
/PHP-8.1/ext/intl/resourcebundle/
H A Dresourcebundle_class.c177 bool is_numeric = 0; in resourcebundle_array_fetch() local
186 is_numeric = 1; in resourcebundle_array_fetch()
200 if (is_numeric) { in resourcebundle_array_fetch()
213 if (is_numeric) { in resourcebundle_array_fetch()
/PHP-8.1/Zend/tests/
H A Dbug68215.phpt31 if (!is_numeric($key))
/PHP-8.1/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt44 \assert(\is_numeric($string));
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_result_meta.c81 if ((meta->fields[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet.metadata->sname, idx))) { in MYSQLND_METHOD()
162 new_fields[i].is_numeric = orig_fields[i].is_numeric; in MYSQLND_METHOD()
H A Dmysqlnd_result.c1010 if (meta->fields[i].is_numeric == FALSE) { in MYSQLND_METHOD()
H A Dmysqlnd_structs.h79 bool is_numeric; member
/PHP-8.1/ext/snmp/tests/
H A Dsnmp_getvalue.phpt52 var_dump(is_numeric($z->value));
/PHP-8.1/ext/standard/
H A Dtype.c346 PHP_FUNCTION(is_numeric) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1818 function is_numeric(mixed $value): bool {} function
H A Dbasic_functions_arginfo.h2795 ZEND_FUNCTION(is_numeric);
3450 ZEND_FE(is_numeric, arginfo_is_numeric)
/PHP-8.1/ext/standard/html_tables/
H A Dhtml_table_gen.php257 if (is_numeric($v))
/PHP-8.1/sapi/fpm/tests/
H A Dstatus.inc191 if (is_numeric($value) || $value === '\d+') {
H A Dtester.inc792 if (is_numeric($requests)) {
1211 if ( ! is_numeric($pidContent)) {

Completed in 77 milliseconds