/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | intval_variation2.phpt | 2 Test intval() function : usage variation 7 /* Prototype : int intval(mixed var [, int base]) 13 echo "*** Testing intval() : usage variation ***\n"; 103 var_dump( intval($var, $value) ); 109 *** Testing intval() : usage variation *** 118 Error: 2 - intval() expects parameter 2 to be integer, float given, %s(%d) 122 Error: 2 - intval() expects parameter 2 to be integer, float given, %s(%d) 129 Error: 2 - intval() expects parameter 2 to be integer, array given, %s(%d) 133 Error: 2 - intval() expects parameter 2 to be integer, array given, %s(%d) 137 Error: 2 - intval() expects parameter 2 to be integer, array given, %s(%d) [all …]
|
H A D | intval.phpt | 2 Test intval() function 9 /* Prototype: int intval( mixed $var [.int $base] ); 36 /* loop to check that intval() recognizes different 41 var_dump( intval($value) ); 47 var_dump( intval($value, 10) ); 53 var_dump( intval($value, 16) ); 58 var_dump( intval($value, 8) ); 146 var_dump( intval($type) ); 151 var_dump( intval() ); 154 var_dump( intval(TRUE, FALSE, TRUE) ); [all …]
|
H A D | intval_binary_prefix.phpt | 2 Test intval() function with "0b" string prefix 38 intval($input, 0) 46 intval($input, 2) 54 intval($input) 62 intval($input, 0)
|
H A D | intval_variation1.phpt | 2 Test intval() function : usage variation 5 /* Prototype : int intval(mixed var [, int base]) 11 echo "*** Testing intval() : usage variation ***\n"; 107 var_dump( intval($value, $base) ); 113 *** Testing intval() : usage variation ***
|
/PHP-7.2/ext/standard/tests/math/ |
H A D | mt_rand_basic.phpt | 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 78 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
H A D | rand_basic.phpt | 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 78 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
/PHP-7.2/Zend/tests/ |
H A D | int_conversion_exponents.phpt | 8 var_dump(intval("1.2345e9")); 9 var_dump(intval("-1.2345e9")); 19 var_dump(intval(" 1.2345e9 abc")); 20 var_dump(intval(" -1.2345e9 abc"));
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | bug70384.phpt | 11 intval(substr($link->server_version."", -5, 1)). 13 intval(substr($link->server_version."", -4, 2)). 15 intval(substr($link->server_version."", -2, 2)).
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | sizeof_basic1.phpt | 18 $intval = 10; 24 var_dump( sizeof($intval) ); 27 var_dump( sizeof($intval, COUNT_NORMAL) ); 30 var_dump( sizeof($intval, COUNT_RECURSIVE) );
|
/PHP-7.2/ext/filter/tests/ |
H A D | bug47745.phpt | 8 var_dump(intval($s));
|
/PHP-7.2/ext/standard/ |
H A D | php_type.h | 24 PHP_FUNCTION(intval);
|
/PHP-7.2/sapi/cli/tests/ |
H A D | php_cli_server_020.phpt | 13 $port = intval($port) ?: 80;
|
H A D | bug65066_100.phpt | 15 $port = intval($port)?:80;
|
H A D | bug66830.phpt | 16 $port = intval($port)?:80;
|
H A D | bug71005.phpt | 19 $port = intval($port) ?: 80;
|
H A D | php_cli_server_018.phpt | 16 $port = intval($port)?:80;
|
H A D | bug65066_422.phpt | 15 $port = intval($port)?:80;
|
H A D | bug65066_511.phpt | 15 $port = intval($port)?:80;
|
H A D | bug68745.phpt | 13 $port = intval($port)?:80;
|
H A D | php_cli_server_006.phpt | 13 $port = intval($port)?:80;
|
H A D | bug61679.phpt | 16 $port = intval($port)?:80;
|
H A D | bug65633.phpt | 16 $port = intval($port)?:80;
|
H A D | php_cli_server_017.phpt | 16 $port = intval($port)?:80;
|
H A D | bug66606_2.phpt | 15 $port = intval($port)?:80;
|
/PHP-7.2/ext/standard/tests/streams/ |
H A D | bug60106.phpt | 16 $socket_file = substr($socket_file, 0, intval($matches[1]) - 1);
|