/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | intval_variation2.phpt | 2 Test intval() function : usage variation 5 /* Prototype : int intval(mixed var [, int base]) 11 echo "*** Testing intval() : usage variation ***\n"; 101 var_dump( intval($var, $value) ); 107 *** Testing intval() : usage variation *** 125 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 129 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 133 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 137 Error: 2 - intval() expects parameter 2 to be long, array given, %s(%d) 159 Error: 2 - intval() expects parameter 2 to be long, string 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_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-5.3/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"; 73 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 74 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 80 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"; 73 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 74 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 80 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
/PHP-5.3/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-5.3/ext/filter/tests/ |
H A D | bug47745.phpt | 8 var_dump(intval($s));
|
/PHP-5.3/ext/standard/ |
H A D | php_type.h | 24 PHP_FUNCTION(intval);
|
H A D | type.c | 134 PHP_FUNCTION(intval) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3032 PHP_FE(intval, arginfo_intval)
|
/PHP-5.3/ext/standard/tests/streams/ |
H A D | bug60106.phpt | 16 $socket_file = substr($socket_file, 0, intval($matches[1]) - 1);
|
/PHP-5.3/ext/pdo_pgsql/ |
H A D | php_pdo_pgsql_int.h | 59 long intval; member
|
H A D | pgsql_statement.c | 513 S->cols[colno].intval = atol(*ptr); in pgsql_stmt_get_col() 514 *ptr = (char *) &(S->cols[colno].intval); in pgsql_stmt_get_col()
|
/PHP-5.3/ext/sqlite3/tests/ |
H A D | sqlite3_25_create_aggregate.phpt | 15 $context['total'] += intval($string);
|
/PHP-5.3/ext/date/tests/ |
H A D | date_create-relative.phpt | 9 define('PHP_INT_MIN', intval(-PHP_INT_MAX - 1));
|
/PHP-5.3/scripts/dev/ |
H A D | check_parameters.php | 87 $mid = intval(($left + $right)/2);
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_types.phpt | 198 $tmp = intval(@date('Y'));
|
H A D | mysqli_stmt_bind_result.phpt | 240 $tmp = intval(@date('Y'));
|