/PHP-5.5/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"; 48 Default pattern: '{0,number} monkeys on {1,number} trees' 50 New pattern: '{0,number} trees hosting {1,number} monkeys' 52 …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 | 18 number {b,number} 19 number integer {c,number,integer} 20 number currency {d,number,currency} 21 number percent {e,number,percent} 48 number 1,336,317,965.5 49 number integer 1,336,317,965 50 number currency $1,336,317,965.50 51 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_symbol.phpt | 70 // Format the number using the new value. 71 $s = ut_nfmt_format( $fmt, $number ); 104 A number formatted with the new symbol: 12,345.123 114 A number formatted with the new symbol: `a,bcd.`ab 119 A number formatted with the new symbol: 12,345.123 139 A number formatted with the new symbol: $12,345.12 154 A number formatted with the new symbol: 12,345.123 159 A number formatted with the new symbol: 12,345.123 164 A number formatted with the new symbol: 12,345.123 169 A number formatted with the new symbol: 12,345.123 [all …]
|
H A D | formatter_get_set_symbol2.phpt | 70 // Format the number using the new value. 71 $s = ut_nfmt_format( $fmt, $number ); 104 A number formatted with the new symbol: 12,345.123 114 A number formatted with the new symbol: 12,345.123 119 A number formatted with the new symbol: 12,345.123 139 A number formatted with the new symbol: $12,345.12 154 A number formatted with the new symbol: 12,345.123 159 A number formatted with the new symbol: 12,345.123 164 A number formatted with the new symbol: 12,345.123 169 A number formatted with the new symbol: 12,345.123 [all …]
|
H A D | formatter_get_set_text_attribute.phpt | 85 Formatting number with default value: 12,345.123 87 Formatting number with new value: _+_12,345.123 91 Formatting number with default value: 12,345.123 93 Formatting number with new value: 12,345.123_+_ 97 Formatting number with default value: -12,345.123 99 Formatting number with new value: _-_12,345.123 103 Formatting number with default value: -12,345.123 105 Formatting number with new value: -12,345.123_-_ 109 Formatting number with default value: ***********12,345.123 111 Formatting number with new value: ^^^^^^^^^^^12,345.123 [all …]
|
H A D | formatter_fail.phpt | 62 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR' 63 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR' 64 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR' 74 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR' 75 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR' 76 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR' 77 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR' 78 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR' 79 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
|
/PHP-5.5/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 | abs_error.phpt | 2 Test abs() function : error conditions - incorrect number of args 5 /* Prototype : number abs ( mixed $number ) 6 * Description: Returns the absolute value of number. 11 * Pass incorrect number of arguments to abs() to test behaviour
|
/PHP-5.5/ext/intl/formatter/ |
H A D | formatter_format.c | 35 zval **number; in PHP_FUNCTION() local 56 if(Z_TYPE_PP(number) == IS_STRING) { in PHP_FUNCTION() 57 convert_scalar_to_number_ex(number); in PHP_FUNCTION() 60 if(Z_TYPE_PP(number) == IS_LONG) { in PHP_FUNCTION() 63 } else if(Z_TYPE_PP(number) == IS_DOUBLE) { in PHP_FUNCTION() 70 if(Z_TYPE_PP(number) != IS_DOUBLE && Z_TYPE_PP(number) != IS_LONG) { in PHP_FUNCTION() 71 SEPARATE_ZVAL_IF_NOT_REF(number); in PHP_FUNCTION() 77 convert_to_long_ex(number); in PHP_FUNCTION() 94 int64_t value = (Z_TYPE_PP(number) == IS_DOUBLE)?(int64_t)Z_DVAL_PP(number):Z_LVAL_PP(number); in PHP_FUNCTION() 109 convert_to_double_ex(number); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | precision.phpt | 37 number: 0.00000000000000000e+0... OK 38 number: 2.00000000000000010e-4... OK 39 number: 2.00000000000000037e-4... OK 40 number: 2.22507385850720138e-308... OK 41 number: 2.22507385850720188e-308... OK 42 number: 1.79769313486231571e+308... OK 43 number: 1.79769313486231551e+308... OK 44 number: 4.94065645841246544e-324... OK 45 number: 9.88131291682493088e-324... OK 46 number: 3.87340857288933536e-304... OK [all …]
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba_db1.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_db2.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_db3.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_db4_000.phpt | 25 "key number 6" written 26 Failed to write "key number 6" 2nd time 30 ["key number 6"]=> 42 "key number 6" written 43 Failed to write "key number 6" 2nd time 47 ["key number 6"]=>
|
H A D | dba_dbm.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_flatfile.phpt | 25 "key number 6" written 26 Failed to write "key number 6" 2nd time 30 ["key number 6"]=> 42 "key number 6" written 43 Failed to write "key number 6" 2nd time 47 ["key number 6"]=>
|
H A D | dba_inifile.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_ndbm.phpt | 21 "key number 6" written 22 Failed to write "key number 6" 2nd time 26 ["key number 6"]=> 38 "key number 6" written 39 Failed to write "key number 6" 2nd time 43 ["key number 6"]=>
|
H A D | dba_tcadb.phpt | 25 "key number 6" written 26 Failed to write "key number 6" 2nd time 30 ["key number 6"]=> 42 "key number 6" written 43 Failed to write "key number 6" 2nd time 47 ["key number 6"]=>
|
/PHP-5.5/ext/date/tests/ |
H A D | gmstrftime_variation3.phpt | 20 'Week number of the year' => "%U", 21 'Week number of the year in decimal number' => "%W", 45 --Week number of the year-- 49 --Week number of the year in decimal number--
|
H A D | strftime_variation3.phpt | 21 'Week number of the year' => "%U", 22 'Week number of the year in decimal number' => "%W", 45 --Week number of the year-- 49 --Week number of the year in decimal number--
|
H A D | strftime_variation7.phpt | 21 'Day of the month as a decimal number' => "%d", 22 'Day of the year as a decimal number' => "%j", 23 'Day of the week as a decimal number' => "%w" 39 --Day of the month as a decimal number-- 43 --Day of the year as a decimal number-- 47 --Day of the week as a decimal number--
|