/PHP-8.3/ext/intl/tests/ |
H A D | msgfmt_get_set_pattern.phpt | 16 $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' 55 …number} trees hosting {1,number} monkeys{0,number} trees hosting {1,number} monkeys{0,number} tree…
|
H A D | msgfmt_format_simple_types_numeric_strings.phpt | 16 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 D | msgfmt_format_simple_types_numeric_strings_icu72-1.phpt | 16 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 D | msgfmt_parse.phpt | 9 * 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 D | msgfmt_format.phpt | 9 * 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 D | formatter_clone.phpt | 15 $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 D | formatter_get_set_symbol2.phpt | 71 // 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 D | formatter_get_set_text_attribute.phpt | 87 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 D | formatter_get_set_text_attribute_var2.phpt | 87 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 D | bitwiseShiftLeft_basiclong_64bit.phpt | 54 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 D | bitwiseShiftRight_basiclong_64bit.phpt | 54 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 D | bug25694.phpt | 8 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 D | number_format_negative_zero.phpt | 6 $number = -1.15E-15; 8 var_dump($number); 9 var_dump(number_format($number, 2));
|
H A D | number_format_with_null_args.phpt | 6 $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 D | precision.phpt | 38 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 D | range_inputs_float_NAN_values.phpt | 36 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 D | formatter_format.c | 30 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 D | bug54973.phpt | 7 $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 D | bug79132.phpt | 53 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 D | bug41125.phpt | 92 …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 D | gh8421.phpt | 8 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 D | bug80438.phpt | 25 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 D | bug71600.phpt | 19 "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 D | hash_fill_packed_nr_elements.phpt | 2 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 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
|