/php-src/ext/standard/tests/math/ |
H A D | round_gh12143_1.phpt | 8 ] as $number) { 15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
|
H A D | round_gh12143_2.phpt | 8 ] as $number) { 15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
|
H A D | round_gh12143_3.phpt | 8 ] as $number) { 15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
|
H A D | round_gh12143_4.phpt | 8 ] as $number) { 15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
|
H A D | allowed_rounding_error.inc | 2 function allowed_rounding_error ($number, $expected) { 11 if ($number < $max && $number > $min ) {
|
H A D | number_format_with_3_args.phpt | 6 $number = 2020.1415; 8 var_dump(number_format($number, 2, 'F'));
|
/php-src/ext/zend_test/tests/ |
H A D | hash_fill_packed_nr_elements.phpt | 2 Test hash packed fill number of elements 8 function number() { 12 $my_array = [number() => 0];
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | engine_unsafe_biased.phpt | 78 Failed to generate an acceptable random number in 50 attempts 81 Failed to generate an acceptable random number in 50 attempts 82 Failed to generate an acceptable random number in 50 attempts 83 Failed to generate an acceptable random number in 50 attempts 84 Failed to generate an acceptable random number in 50 attempts 85 Failed to generate an acceptable random number in 50 attempts 86 Failed to generate an acceptable random number in 50 attempts
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_clone.phpt | 13 $fmt = ut_msgfmt_create( "en_US", "{0,number} monkeys on {1,number} trees" ); 19 $pattern = "{0,number} trees hosting {1,number} monkeys";
|
H A D | formatter_get_set_pattern.phpt | 35 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n"; 39 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n"; 52 Formatted number: 12345.1 54 Formatted number: 12345.123456000000000000000000000000000000000000000000000000000000000000000000000…
|
H A D | formatter_format_currency2.phpt | 9 * Format a number using misc currencies/locales. 28 $number = 1234567.89; 33 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
|
/php-src/ext/opcache/tests/match/ |
H A D | 004.phpt | 29 foreach (range(0, 6) as $number) { 30 var_dump(test($number)); 31 var_dump(test((string) $number)); 45 0005 FE_FETCH_R V1 CV0($number) 0020 48 0008 SEND_VAR CV0($number) 1 54 0014 T2 = CAST (string) CV0($number)
|
/php-src/tests/lang/operators/ |
H A D | bitwiseShiftLeft_variationStr.phpt | 31 ArithmeticError: Bit shift by negative number 35 ArithmeticError: Bit shift by negative number 59 ArithmeticError: Bit shift by negative number 63 ArithmeticError: Bit shift by negative number 87 ArithmeticError: Bit shift by negative number 91 ArithmeticError: Bit shift by negative number 115 ArithmeticError: Bit shift by negative number 119 ArithmeticError: Bit shift by negative number 143 ArithmeticError: Bit shift by negative number 147 ArithmeticError: Bit shift by negative number [all …]
|
H A D | bitwiseShiftLeft_variationStr_64bit.phpt | 36 ArithmeticError: Bit shift by negative number 40 ArithmeticError: Bit shift by negative number 64 ArithmeticError: Bit shift by negative number 68 ArithmeticError: Bit shift by negative number 92 ArithmeticError: Bit shift by negative number 96 ArithmeticError: Bit shift by negative number 120 ArithmeticError: Bit shift by negative number 124 ArithmeticError: Bit shift by negative number 148 ArithmeticError: Bit shift by negative number 152 ArithmeticError: Bit shift by negative number [all …]
|
H A D | bitwiseShiftRight_variationStr.phpt | 32 ArithmeticError: Bit shift by negative number 36 ArithmeticError: Bit shift by negative number 60 ArithmeticError: Bit shift by negative number 64 ArithmeticError: Bit shift by negative number 88 ArithmeticError: Bit shift by negative number 92 ArithmeticError: Bit shift by negative number 116 ArithmeticError: Bit shift by negative number 120 ArithmeticError: Bit shift by negative number 144 ArithmeticError: Bit shift by negative number 148 ArithmeticError: Bit shift by negative number [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_reverse_basic2.phpt | 12 $array = array("a" => "hello", 123 => "number", 'string' => 'blue', "10" => 13.33); 31 string(6) "number" 41 string(6) "number" 51 string(6) "number"
|
H A D | array_combine_error2.phpt | 27 // Testing array_combine with arrays having unequal number of elements 28 echo "\n-- Testing array_combine() function by passing array with unequal number of elements --\n"; 44 array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements 46 array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements 47 -- Testing array_combine() function by passing array with unequal number of elements -- 48 array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements
|
/php-src/ext/date/tests/ |
H A D | idate_variation6.phpt | 11 echo "\n-- Testing idate() function for 2 digit year having no zero as starting number --\n"; 15 echo "\n-- Testing idate() function for 2 digit year having zero as starting number --\n"; 22 -- Testing idate() function for 2 digit year having no zero as starting number -- 25 -- Testing idate() function for 2 digit year having zero as starting number --
|
H A D | strftime_variation7.phpt | 15 'Day of the month as a decimal number' => "%d", 16 'Day of the year as a decimal number' => "%j", 17 'Day of the week as a decimal number' => "%w" 32 --Day of the month as a decimal number-- 40 --Day of the year as a decimal number-- 48 --Day of the week as a decimal number--
|
H A D | gmstrftime_variation7.phpt | 14 'Day of the month as a decimal number' => "%d", 15 'Day of the year as a decimal number' => "%j", 16 'Day of the week as a decimal number' => "%w" 31 --Day of the month as a decimal number-- 39 --Day of the year as a decimal number-- 47 --Day of the week as a decimal number--
|
H A D | strftime_variation3.phpt | 15 'Week number of the year' => "%U", 16 'Week number of the year in decimal number' => "%W", 46 --Week number of the year-- 54 --Week number of the year in decimal number--
|
H A D | gmstrftime_variation3.phpt | 14 'Week number of the year' => "%U", 15 'Week number of the year in decimal number' => "%W", 46 --Week number of the year-- 54 --Week number of the year in decimal number--
|
/php-src/ext/standard/tests/strings/ |
H A D | sscanf_basic1.phpt | 16 list($part, $number, $stock) = sscanf($str, $format); 17 var_dump($part, $number, $stock); 21 $res = sscanf($str, $format, $part, $number, $stock); 22 var_dump($res, $part, $number, $stock);
|
H A D | sscanf_basic2.phpt | 16 list($part, $number, $stock) = sscanf($str, $format); 17 var_dump($part, $number, $stock); 21 $res = sscanf($str, $format, $part, $number, $stock); 22 var_dump($res, $part, $number, $stock);
|
/php-src/Zend/tests/ |
H A D | 002.phpt | 100 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 101 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 104 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 106 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 110 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 112 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 113 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 117 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the… 119 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
|