Home
last modified time | relevance | path

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

/PHP-7.1/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.1/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.1/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.1/ext/standard/
H A Dphp_type.h35 PHP_FUNCTION(is_numeric);
H A Dtype.c349 PHP_FUNCTION(is_numeric) in PHP_FUNCTION() argument
H A Dbasic_functions.c3075 PHP_FE(is_numeric, arginfo_is_numeric)
/PHP-7.1/ext/soap/interop/
H A Dtest.utility.php64 if (is_numeric($e1) && is_numeric($e2)) {
/PHP-7.1/ext/intl/resourcebundle/
H A Dresourcebundle_class.c181 zend_bool is_numeric = 0; in resourcebundle_array_fetch() local
189 is_numeric = 1; in resourcebundle_array_fetch()
203 if (is_numeric) { in resourcebundle_array_fetch()
216 if (is_numeric) { in resourcebundle_array_fetch()
/PHP-7.1/ext/spl/internal/
H A Dspldoublylinkedlist.inc201 if (!is_numeric($offset)) {
222 if (!is_numeric($offset) || !array_key_exists($realOffset, $this->_llist)) {
248 if (!is_numeric($offset) || !array_key_exists($realOffset, $this->_llist)) {
269 if (!is_numeric($offset) || !array_key_exists($realOffset, $this->_llist)) {
/PHP-7.1/Zend/tests/
H A Dbug68215.phpt31 if (!is_numeric($key))
/PHP-7.1/ext/snmp/tests/
H A Dsnmp_getvalue.phpt50 var_dump(is_numeric($z->value));
/PHP-7.1/sapi/fpm/tests/
H A Dstatus.inc190 if (is_numeric($value) || $value === '\d+') {
H A Dtester.inc875 if (!is_numeric($pidContent)) {
/PHP-7.1/ext/standard/html_tables/
H A Dhtml_table_gen.php262 if (is_numeric($v))
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_result_meta.c95 …if ((meta->zend_hash_keys[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet->metadata->sname, idx))… in MYSQLND_METHOD()
H A Dmysqlnd_result.c884 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1139 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1235 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
H A Dmysqlnd_structs.h1141 zend_bool is_numeric; member

Completed in 54 milliseconds