Home
last modified time | relevance | path

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

/php-src/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-src/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-src/ext/intl/collator/
H A Dcollator_convert.c311 uint8_t 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-src/Zend/tests/
H A Dbug68215.phpt31 if (!is_numeric($key))
/php-src/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt44 \assert(\is_numeric($string));
/php-src/ext/standard/tests/strings/
H A Dstr_increment_polyfill.phpt7 if (is_numeric($s)) {
/php-src/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.c1008 if (meta->fields[i].is_numeric == FALSE) { in MYSQLND_METHOD()
H A Dmysqlnd_structs.h79 bool is_numeric; member
/php-src/ext/intl/resourcebundle/
H A Dresourcebundle_class.c177 bool is_numeric = offset_str == NULL; in resource_bundle_array_fetch() local
211 if (is_numeric) { in resource_bundle_array_fetch()
225 if (is_numeric) { in resource_bundle_array_fetch()
/php-src/ext/standard/
H A Dtype.c368 PHP_FUNCTION(is_numeric) in PHP_FUNCTION() argument
380 ZEND_FRAMELESS_FUNCTION(is_numeric, 1)
H A Dbasic_functions_arginfo.h2307 ZEND_FRAMELESS_FUNCTION(is_numeric, 1);
2309 { ZEND_FRAMELESS_FUNCTION_NAME(is_numeric, 1), 1 },
2880 ZEND_FUNCTION(is_numeric);
H A Dbasic_functions.stub.php3659 function is_numeric(mixed $value): bool {}
/php-src/ext/snmp/tests/
H A Dsnmp_getvalue.phpt54 var_dump(is_numeric($z->value));
/php-src/ext/opcache/tests/jit/
H A Dinc_024.phpt15 while (is_numeric($a)) {
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php257 if (is_numeric($v))
/php-src/sapi/fpm/tests/
H A Dstatus.inc215 if (is_numeric($value) || $value === '\d+') {
H A Dtester.inc917 if (is_numeric($requests)) {
1392 if ( ! is_numeric($pidContent)) {

Completed in 71 milliseconds