Home
last modified time | relevance | path

Searched refs:is_int (Results 1 – 25 of 41) sorted by relevance

12

/PHP-8.0/tests/lang/
H A Dbug24054.phpt6 define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF);
8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ),
9 is_int(LONG_MIN-1),is_int(LONG_MAX+1));
/PHP-8.0/ext/standard/tests/math/
H A Dabs.phpt6 define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF);
8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ),
9 is_int(LONG_MIN-1),is_int(LONG_MAX+1));
H A Dround.phpt6 define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF);
8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ),
9 is_int(LONG_MIN-1),is_int(LONG_MAX+1));
H A Dpow.phpt6 define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF);
8 printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ),
9 is_int(LONG_MIN-1),is_int(LONG_MAX+1));
H A Dmt_rand_basic.phpt12 if (!is_int($res) || $res < 0 || $res > $default_max) {
43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) {
71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
H A Drand_basic.phpt12 if (!is_int($res) || $res < 0 || $res > $default_max) {
43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) {
71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
/PHP-8.0/ext/standard/tests/random/
H A Drandom_int.phpt6 var_dump(is_int(random_int(10, 100)));
13 var_dump(is_int(random_int(PHP_INT_MIN, PHP_INT_MAX)));
/PHP-8.0/ext/standard/tests/general_functions/
H A Dis_int.phpt2 Test is_int() & it's FALIASes: is_long() & is_integer() functions
9 echo "*** Testing is_int(), is_integer() & is_long() with valid integer values ***\n";
31 /* loop to check that is_int() recognizes different
36 var_dump( is_int($int_val) );
41 echo "\n*** Testing is_int(), is_integer() & is_long() with non integer values ***\n";
122 is_int() on non integer types, expected output: bool(false) */
126 var_dump( is_int($type) );
139 *** Testing is_int(), is_integer() & is_long() with valid integer values ***
213 *** Testing is_int(), is_integer() & is_long() with non integer values ***
H A Dis_int_64bit.phpt2 Test is_int() & it's FALIASes: is_long() & is_integer() functions
11 echo "*** Testing is_int(), is_integer() & is_long() with valid integer values ***\n";
33 /* loop to check that is_int() recognizes different
38 var_dump( is_int($int_val) );
43 echo "\n*** Testing is_int(), is_integer() & is_long() with non integer values ***\n";
124 is_int() on non integer types, expected output: bool(false) */
128 var_dump( is_int($type) );
136 *** Testing is_int(), is_integer() & is_long() with valid integer values ***
210 *** Testing is_int(), is_integer() & is_long() with non integer values ***
/PHP-8.0/ext/opcache/tests/
H A Dssa_bug_008.phpt7 if (!is_int($info = gc_collect_cycles()) || ($info < 100)) {
H A Dbug79193.phpt10 var_dump(is_int($bar));
/PHP-8.0/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt47 \assert(\is_int($incremented) || \is_float($incremented));
51 \assert(\is_int($decremented) || \is_float($decremented));
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_get_client_version.phpt7 if (!is_int($info = mysqli_get_client_version()) || ($info < 100))
H A Dmysqli_get_proto_info.phpt13 if (!is_int($info = mysqli_get_proto_info($link)) || ($info < 1))
H A Dmysqli_get_server_version.phpt15 if (!is_int($info = mysqli_get_server_version($link)) || ($info < (3 * 10000)))
H A Dmysqli_thread_id.phpt14 if (!is_int($tmp = mysqli_thread_id($link)) || (0 === $tmp))
H A Dmysqli_get_charset.phpt74 !(is_int($charset->min_length)) ||
81 !is_int($charset->number) ||
86 !is_int($charset->state))
/PHP-8.0/ext/standard/tests/array/
H A Darray_filter_variation9.phpt13 // using built-in function 'is_int' as 'callback'
14 var_dump( array_filter($input, 'is_int') );
/PHP-8.0/tests/
H A Dquicktester.inc54 if ( !is_float($left ) && !is_int($left )
55 || !is_float($right) && !is_int($right)) {
/PHP-8.0/ext/opcache/tests/jit/
H A Dinc_020.phpt16 if (is_int($key)) {
/PHP-8.0/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation1.phpt39 var_dump( is_int($linkinfo) && $linkinfo !== -1 );
53 var_dump( is_int($linkinfo) && $linkinfo !== -1 );
71 var_dump( is_int($linkinfo) && $linkinfo !== -1 );
85 var_dump( is_int($linkinfo) && $linkinfo !== -1 );
H A Dsymlink_link_linkinfo_is_link_variation9.phpt37 var_dump(is_int($linkinfo) && $linkinfo !== -1);
52 var_dump(is_int($linkinfo) && $linkinfo !== -1);
69 var_dump(is_int($linkinfo) && $linkinfo !== -1);
H A Dsymlink_link_linkinfo_is_link_basic1.phpt50 var_dump( is_int($linkinfo) && $linkinfo !== -1 );
62 var_dump( is_int($linkinfo) && $linkinfo !== -1 );
/PHP-8.0/ext/pdo/tests/
H A Dbug_64172.phpt27 var_dump(is_int($db->errorInfo()[1])) . "\n";
40 var_dump(is_int($db->errorInfo()[1])) . "\n";
/PHP-8.0/ext/standard/tests/strings/
H A Dcrc32_basic.phpt18 var_dump( is_int(crc32($str)) );

Completed in 28 milliseconds

12