Searched refs:money_format (Results 1 – 9 of 9) sorted by relevance
/PHP-7.2/ext/standard/tests/strings/ |
H A D | money_format_error.phpt | 2 Test money_format() function : error conditions 5 if (!function_exists('money_format')) { 6 die("SKIP money_format - not supported\n"); 24 echo "*** Testing money_format() : error conditions ***\n"; 27 var_dump( money_format() ); 30 var_dump( money_format($string) ); 33 var_dump( money_format($string, $value, $extra_arg) ); 36 var_dump( money_format($string . $string, $value) ); 40 *** Testing money_format() : error conditions *** 42 -- Testing money_format() function with no arguments -- [all …]
|
H A D | money_format_basic1.phpt | 5 if (!function_exists('money_format')) { 6 die("SKIP money_format - not supported\n"); 20 echo "*** Testing money_format() : basic functionality***\n"; 29 echo gettype(money_format('%14#8.2n', $value))."\n"; 30 echo gettype(money_format('%14#8.2n', $negative_value))."\n"; 34 echo gettype(money_format('%(14#8.2n', $value))."\n"; 39 echo gettype(money_format('%=014#8.2n', $value))."\n"; 44 echo gettype(money_format('%=*14#8.2n', $value))."\n"; 49 echo gettype(money_format('%=*^14#8.2n', $value))."\n"; 54 echo gettype(money_format('%=*!14#8.2n', $value))."\n"; [all …]
|
H A D | money_format_variation2.phpt | 2 Test money_format() function : usage variations - test values for $number argument 5 if (!function_exists('money_format')) { 6 die("SKIP money_format - not supported\n"); 11 /* Prototype : string money_format ( string $format , float $number ) 91 // loop through with each element of the $numbers array to test money_format() function 97 echo gettype(money_format($format, $number))."\n"; 107 *** Testing money_format() function: with unexpected inputs for 'number' argument *** 128 Warning: money_format() expects parameter 2 to be float, array given in %s on line %d 132 Warning: money_format() expects parameter 2 to be float, array given in %s on line %d 136 Warning: money_format() expects parameter 2 to be float, array given in %s on line %d [all …]
|
H A D | money_format_variation1.phpt | 2 Test money_format() function : usage variations - test values for $format argument 5 if (!function_exists('money_format')) { 6 die("SKIP money_format - not supported\n"); 11 /* Prototype : string money_format ( string $format , float $number ) 91 // loop through with each element of the $formats array to test money_format() function 97 echo gettype(money_format($format, $value))."\n"; 107 *** Testing money_format() function: with unexpected inputs for 'format' argument *** 128 Warning: money_format() expects parameter 1 to be string, array given in %s on line %d 132 Warning: money_format() expects parameter 1 to be string, array given in %s on line %d 136 Warning: money_format() expects parameter 1 to be string, array given in %s on line %d [all …]
|
H A D | moneyformat.phpt | 2 money_format test 5 if (!function_exists('money_format') || !function_exists('setlocale')) { 6 die("SKIP money_format - not supported\n"); 16 var_dump( money_format("X%nY", 3.1415));
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 102 PHP_FUNCTION(money_format);
|
H A D | basic_functions.c | 2793 PHP_FE(money_format, arginfo_money_format)
|
H A D | string.c | 5610 PHP_FUNCTION(money_format) argument
|
/PHP-7.2/ |
H A D | NEWS | 2342 . Fixed bug #72979 (money_format stores wrong length AIX). (matthieu.sarter)
|
Completed in 70 milliseconds