Home
last modified time | relevance | path

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

/PHP-7.0/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.0/ext/standard/tests/array/
H A Darray_filter_variation10.phpt43 var_dump(array_filter($mixed, 'is_numeric', ARRAY_FILTER_USE_KEY));
45 var_dump(array_filter($mixed, 'is_numeric', 0));
47 var_dump(array_filter($mixed, 'is_numeric', ARRAY_FILTER_USE_BOTH));
94 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 44
96 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 44
98 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 44
100 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line 44
/PHP-7.0/ext/standard/
H A Dphp_type.h35 PHP_FUNCTION(is_numeric);
H A Dtype.c310 PHP_FUNCTION(is_numeric) in PHP_FUNCTION() argument
H A Dbasic_functions.c3060 PHP_FE(is_numeric, arginfo_is_numeric)
/PHP-7.0/ext/intl/collator/
H A Dcollator_convert.c354 int is_numeric = 0; in collator_convert_string_to_number_if_possible() local
363 …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()
365 if( is_numeric == IS_LONG ) { in collator_convert_string_to_number_if_possible()
368 if( is_numeric == IS_DOUBLE ) in collator_convert_string_to_number_if_possible()
/PHP-7.0/ext/soap/interop/
H A Dtest.utility.php64 if (is_numeric($e1) && is_numeric($e2)) {
/PHP-7.0/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.0/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.0/Zend/tests/
H A Dbug68215.phpt31 if (!is_numeric($key))
/PHP-7.0/ext/snmp/tests/
H A Dsnmp_getvalue.phpt50 var_dump(is_numeric($z->value));
/PHP-7.0/ext/standard/html_tables/
H A Dhtml_table_gen.php262 if (is_numeric($v))
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_result_meta.c137 …if ((meta->zend_hash_keys[i].is_numeric = ZEND_HANDLE_NUMERIC(field_packet->metadata->sname, idx))… in MYSQLND_METHOD()
H A Dmysqlnd_result.c870 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1121 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1216 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
H A Dmysqlnd_structs.h1000 zend_bool is_numeric; member
/PHP-7.0/
H A DUPGRADING286 var_dump(is_numeric("0x123")); // bool(false) (previously true)

Completed in 170 milliseconds