Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/PHP-8.3/ext/intl/tests/
H A Dmsgfmt_get_set_pattern.phpt16 $fmt = ut_msgfmt_create( "en_US", "{0,number} monkeys on {1,number} trees" );
23 $pattern = "{0,number} trees hosting {1,number} monkeys";
38 $res = ut_msgfmt_set_pattern($fmt, "{0,number} trees hosting {1,number monkeys");
51 Default pattern: '{0,number} monkeys on {1,number} trees'
53 New pattern: '{0,number} trees hosting {1,number} monkeys'
55number} trees hosting {1,number} monkeys{0,number} trees hosting {1,number} monkeys{0,number} tree…
H A Dmsgfmt_format_simple_types_numeric_strings.phpt16 number {b,number}
17 number integer {c,number,integer}
18 number currency {d,number,currency}
19 number percent {e,number,percent}
45 number 1,336,317,965.5
46 number integer 1,336,317,965
47 number currency $1,336,317,965.50
48 number percent 133,631,796,550%
H A Dmsgfmt_format_simple_types_numeric_strings_icu72-1.phpt16 number {b,number}
17 number integer {c,number,integer}
18 number currency {d,number,currency}
19 number percent {e,number,percent}
45 number 1,336,317,965.5
46 number integer 1,336,317,965
47 number currency $1,336,317,965.50
48 number percent 133,631,796,550%
H A Dmsgfmt_parse.phpt9 * Format a number using misc locales/patterns.
16 …'en_US' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tre…
17 …'ru_UA' => "{0,number,integer} мавп на {1,number,integer} деревах це {2,number} мавпи на кожному д…
18 … 'de' => "{0,number,integer} Affen über {1,number,integer} Bäume um {2,number} Affen pro Baum",
19 …'en_UK' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tre…
21 'fr' => 'C\'est {0,number,integer}',
H A Dmsgfmt_format.phpt9 * Format a number using misc locales/patterns.
16 …'en_US' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tre…
17 …'ru_UA' => "{0,number,integer} мавп на {1,number,integer} деревах це {2,number} мавпи на кожному д…
18 … 'de' => "{0,number,integer} Affen über {1,number,integer} Bäume um {2,number} Affen pro Baum",
19 …'en_UK' => "{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tre…
H A Dformatter_clone.phpt15 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n";
22 $res_str .= "Formatted number: " . ut_nfmt_format( $fmt, $test_value ) . "\n";
23 $res_str .= "Formatted(clone) number: " . ut_nfmt_format( $fmt_clone, $test_value ) . "\n";
28 Formatted number: 12345.123456
29 Formatted number: 12345.1
30 Formatted(clone) number: 12345.123456
H A Dformatter_get_set_symbol2.phpt71 // Format the number using the new value.
72 $s = ut_nfmt_format( $fmt, $number );
105 A number formatted with the new symbol: 12,345.123
115 A number formatted with the new symbol: 12,345.123
120 A number formatted with the new symbol: 12,345.123
140 A number formatted with the new symbol: $12,345.12
155 A number formatted with the new symbol: 12,345.123
160 A number formatted with the new symbol: 12,345.123
165 A number formatted with the new symbol: 12,345.123
170 A number formatted with the new symbol: 12,345.123
[all …]
H A Dformatter_get_set_text_attribute.phpt87 Formatting number with default value: 12,345.123
89 Formatting number with new value: _+_12,345.123
93 Formatting number with default value: 12,345.123
95 Formatting number with new value: 12,345.123_+_
99 Formatting number with default value: -12,345.123
101 Formatting number with new value: _-_12,345.123
105 Formatting number with default value: -12,345.123
107 Formatting number with new value: -12,345.123_-_
111 Formatting number with default value: ***********12,345.123
113 Formatting number with new value: ^^^^^^^^^^^12,345.123
[all …]
H A Dformatter_get_set_text_attribute_var2.phpt87 Formatting number with default value: 12,345.123
89 Formatting number with new value: _+_12,345.123
93 Formatting number with default value: 12,345.123
95 Formatting number with new value: 12,345.123_+_
99 Formatting number with default value: -12,345.123
101 Formatting number with new value: _-_12,345.123
105 Formatting number with default value: -12,345.123
107 Formatting number with new value: -12,345.123_-_
111 Formatting number with default value: 12,345.123
113 Formatting number with new value: ^^^^^^^^^^^12,345.123
[all …]
/PHP-8.3/tests/lang/operators/
H A DbitwiseShiftLeft_basiclong_64bit.phpt54 Exception: Bit shift by negative number
62 Exception: Bit shift by negative number
72 Exception: Bit shift by negative number
80 Exception: Bit shift by negative number
90 Exception: Bit shift by negative number
98 Exception: Bit shift by negative number
108 Exception: Bit shift by negative number
116 Exception: Bit shift by negative number
126 Exception: Bit shift by negative number
134 Exception: Bit shift by negative number
[all …]
H A DbitwiseShiftRight_basiclong_64bit.phpt54 Exception: Bit shift by negative number
62 Exception: Bit shift by negative number
72 Exception: Bit shift by negative number
80 Exception: Bit shift by negative number
90 Exception: Bit shift by negative number
98 Exception: Bit shift by negative number
108 Exception: Bit shift by negative number
116 Exception: Bit shift by negative number
126 Exception: Bit shift by negative number
134 Exception: Bit shift by negative number
[all …]
/PHP-8.3/ext/standard/tests/math/
H A Dbug25694.phpt8 echo "number format 0.045 = " . number_format(0.045, 2) . "\n\n";
10 echo "number format 0.055 = " . number_format(0.055, 2) . "\n\n";
12 echo "number format 5.045 = " . number_format(5.045, 2) . "\n\n";
14 echo "number format 5.055 = " . number_format(5.055, 2) . "\n\n";
16 echo "number format 3.025 = " . number_format(3.025, 2) . "\n\n";
22 number format 0.045 = 0.05
25 number format 0.055 = 0.06
28 number format 5.045 = 5.05
31 number format 5.055 = 5.06
34 number format 3.025 = 3.03
[all …]
H A Dnumber_format_negative_zero.phpt6 $number = -1.15E-15;
8 var_dump($number);
9 var_dump(number_format($number, 2));
H A Dnumber_format_with_null_args.phpt6 $number = 2020.1415;
8 var_dump(number_format($number, 2, null, 'T'));
9 var_dump(number_format($number, 2, 'F', null));
/PHP-8.3/ext/standard/tests/serialize/
H A Dprecision.phpt38 number: 0.00000000000000000e+0... OK
39 number: 2.00000000000000010e-4... OK
40 number: 2.00000000000000037e-4... OK
41 number: 2.22507385850720138e-308... OK
42 number: 2.22507385850720188e-308... OK
43 number: 1.79769313486231571e+308... OK
44 number: 1.79769313486231551e+308... OK
45 number: 4.94065645841246544e-324... OK
46 number: 9.88131291682493088e-324... OK
47 number: 3.87340857288933536e-304... OK
[all …]
/PHP-8.3/ext/standard/tests/array/range/
H A Drange_inputs_float_NAN_values.phpt36 range(): Argument #1 ($start) must be a finite number, NAN provided
38 range(): Argument #1 ($start) must be a finite number, NAN provided
40 range(): Argument #1 ($start) must be a finite number, NAN provided
42 range(): Argument #1 ($start) must be a finite number, NAN provided
44 range(): Argument #1 ($start) must be a finite number, NAN provided
46 range(): Argument #1 ($start) must be a finite number, NAN provided
48 range(): Argument #1 ($start) must be a finite number, NAN provided
50 range(): Argument #1 ($start) must be a finite number, NAN provided
60 range(): Argument #2 ($end) must be a finite number, NAN provided
62 range(): Argument #2 ($end) must be a finite number, NAN provided
[all …]
/PHP-8.3/ext/intl/formatter/
H A Dformatter_format.c30 zval *number; in PHP_FUNCTION() local
39 &object, NumberFormatter_ce_ptr, &number, &type ) == FAILURE ) in PHP_FUNCTION()
48 switch(Z_TYPE_P(number)) { in PHP_FUNCTION()
62 convert_to_long(number); in PHP_FUNCTION()
63 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION()
68 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION()
79 int64_t value = (Z_TYPE_P(number) == IS_DOUBLE)?(int64_t)Z_DVAL_P(number):Z_LVAL_P(number); in PHP_FUNCTION()
94 convert_to_double(number); in PHP_FUNCTION()
99 …unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_D… in PHP_FUNCTION()
128 double number; in PHP_FUNCTION() local
[all …]
/PHP-8.3/ext/simplexml/tests/
H A Dbug54973.phpt7 $xml = simplexml_load_string("<xml><number>9223372036854775808</number></xml>");
9 var_dump($xml->number);
11 $int = $xml->number / 1024 / 1024 / 1024;
14 $double = (double) $xml->number / 1024 / 1024 / 1024;
/PHP-8.3/ext/pdo_mysql/tests/
H A Dbug79132.phpt53 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
54 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
66 SQLSTATE[HY093]: Invalid parameter number
67 SQLSTATE[HY093]: Invalid parameter number
H A Dbug41125.phpt92 …t::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match
130 …t::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match
136 …t::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match
146 …t::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match
160 …t::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match
166 …t::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match
/PHP-8.3/Zend/tests/attributes/
H A Dgh8421.phpt8 public int $number = 1;
43 …ctionFunction($globalClosure))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
44 …unction($globalStaticClosure))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
45 …reDefinedInScopeStatically()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
46 …reDefinedInScopeStatically()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
50 …->getClosureDefinedInScope()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
51 …taticClosureDefinedInScope()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
/PHP-8.3/ext/imap/tests/
H A Dbug80438.phpt25 echo 'Ordered message number: ';
56 Ordered message number: int(1)
58 Ordered message number: int(2)
60 Ordered message number: int(3)
62 Ordered message number: int(4)
64 Ordered message number: int(5)
66 Ordered message number: int(6)
/PHP-8.3/ext/oci8/tests/
H A Dbug71600.phpt19 "create table bug71600_tab (col1 number, col2 number, col3 number,
20 col4 number, col5 number, col6 number,
21 col7 number, col8 number, col9 number)",
/PHP-8.3/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-8.3/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

Completed in 29 milliseconds

12345678910>>...23