/PHP-5.4/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_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_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_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_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'
|
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";
|
/PHP-5.4/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
|
H A D | dechex_error.phpt | 5 /* Prototype : string dechex ( int $number ) 6 …* Description: Returns a string containing a hexadecimal representation of the given number argum… 12 echo "\nIncorrect number of arguments\n"; 21 Incorrect number of arguments
|
H A D | allowed_rounding_error.inc | 2 function allowed_rounding_error ($number, $expected) { 11 if ($number < $max && $number > $min ) {
|
H A D | abs_variation.phpt | 2 Test abs() function : usage variations - different data types as $number arg 5 /* Prototype : number abs ( mixed $number ) 6 * Description: Returns the absolute value of number. 11 * Pass different data types as $number argument to abs() to test behaviour 36 // unexpected values to be passed to $number argument
|
/PHP-5.4/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.4/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.4/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--
|
H A D | gmstrftime_variation7.phpt | 20 'Day of the month as a decimal number' => "%d", 21 'Day of the year as a decimal number' => "%j", 22 'Day of the week as a decimal number' => "%w" 38 --Day of the month as a decimal number-- 42 --Day of the year as a decimal number-- 46 --Day of the week as a decimal number--
|
/PHP-5.4/ext/imap/tests/ |
H A D | imap_fetchbody_variation2.phpt | 110 Warning: imap_fetchbody(): Bad message number in %s on line %d 118 Warning: imap_fetchbody(): Bad message number in %s on line %d 123 Warning: imap_fetchbody(): Bad message number in %s on line %d 128 Warning: imap_fetchbody(): Bad message number in %s on line %d 133 Warning: imap_fetchbody(): Bad message number in %s on line %d 138 Warning: imap_fetchbody(): Bad message number in %s on line %d 143 Warning: imap_fetchbody(): Bad message number in %s on line %d 148 Warning: imap_fetchbody(): Bad message number in %s on line %d 153 Warning: imap_fetchbody(): Bad message number in %s on line %d 158 Warning: imap_fetchbody(): Bad message number in %s on line %d [all …]
|
H A D | imap_fetchheader_variation2.phpt | 125 Warning: imap_fetchheader(): Bad message number in %s on line %d 139 Warning: imap_fetchheader(): Bad message number in %s on line %d 144 Warning: imap_fetchheader(): Bad message number in %s on line %d 149 Warning: imap_fetchheader(): Bad message number in %s on line %d 154 Warning: imap_fetchheader(): Bad message number in %s on line %d 159 Warning: imap_fetchheader(): Bad message number in %s on line %d 164 Warning: imap_fetchheader(): Bad message number in %s on line %d 169 Warning: imap_fetchheader(): Bad message number in %s on line %d 174 Warning: imap_fetchheader(): Bad message number in %s on line %d 179 Warning: imap_fetchheader(): Bad message number in %s on line %d [all …]
|
/PHP-5.4/ext/intl/doc/ |
H A D | formatter_api.php | 179 * @param integer|double $number Number to format 183 public function format($number, $type = 0) {} argument 203 * @param double $number Number to format 206 public function formatCurrency($number, $currency) {} argument 349 * @param integer|double $number Number to format 353 function numfmt_format($formatter, $number, $type = null) {} argument 373 * @param double $number Number to format 376 function numfmt_format_currency($formatter, $number, $currency) {} argument
|
/PHP-5.4/ext/standard/ |
H A D | rand.c | 293 long number; in PHP_FUNCTION() local 299 number = php_rand(TSRMLS_C); in PHP_FUNCTION() 301 RAND_RANGE(number, min, max, PHP_RAND_MAX); in PHP_FUNCTION() 304 RETURN_LONG(number); in PHP_FUNCTION() 314 long number; in PHP_FUNCTION() local 338 number = (long) (php_mt_rand(TSRMLS_C) >> 1); in PHP_FUNCTION() 340 RAND_RANGE(number, min, max, PHP_MT_RAND_MAX); in PHP_FUNCTION() 343 RETURN_LONG(number); in PHP_FUNCTION()
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_rand_variation2.phpt | 94 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 102 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 107 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 136 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 141 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 146 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 151 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 156 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 161 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … 169 Warning: array_rand(): Second argument has to be between 1 and the number of elements in the array … [all …]
|