Home
last modified time | relevance | path

Searched refs:number (Results 26 – 50 of 477) sorted by relevance

12345678910>>...20

/php-src/ext/standard/tests/math/
H A Dround_gh12143_1.phpt8 ] as $number) {
15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
H A Dround_gh12143_2.phpt8 ] as $number) {
15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
H A Dround_gh12143_3.phpt8 ] as $number) {
15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
H A Dround_gh12143_4.phpt8 ] as $number) {
15 printf("%-20s: %+.17g -> %+.17g\n", $mode, $number, round($number, 0, constant($mode)));
H A Dallowed_rounding_error.inc2 function allowed_rounding_error ($number, $expected) {
11 if ($number < $max && $number > $min ) {
H A Dnumber_format_with_3_args.phpt6 $number = 2020.1415;
8 var_dump(number_format($number, 2, 'F'));
/php-src/ext/zend_test/tests/
H A Dhash_fill_packed_nr_elements.phpt2 Test hash packed fill number of elements
8 function number() {
12 $my_array = [number() => 0];
/php-src/ext/random/tests/03_randomizer/
H A Dengine_unsafe_biased.phpt78 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 Dmsgfmt_clone.phpt13 $fmt = ut_msgfmt_create( "en_US", "{0,number} monkeys on {1,number} trees" );
19 $pattern = "{0,number} trees hosting {1,number} monkeys";
H A Dformatter_get_set_pattern.phpt35 $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 Dformatter_format_currency2.phpt9 * 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 D004.phpt29 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 DbitwiseShiftLeft_variationStr.phpt31 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 DbitwiseShiftLeft_variationStr_64bit.phpt36 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 DbitwiseShiftRight_variationStr.phpt32 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 Darray_reverse_basic2.phpt12 $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 Darray_combine_error2.phpt27 // 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 Didate_variation6.phpt11 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 Dstrftime_variation7.phpt15 '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 Dgmstrftime_variation7.phpt14 '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 Dstrftime_variation3.phpt15 '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 Dgmstrftime_variation3.phpt14 '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 Dsscanf_basic1.phpt16 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 Dsscanf_basic2.phpt16 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 D002.phpt100 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…

Completed in 42 milliseconds

12345678910>>...20