Display the drop-down list

Test of money_format()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #3 : test not validated (platform dependant or random result etc.)
Example #4 : test not validated (platform dependant or random result etc.)
Example #5 : test not validated (platform dependant or random result etc.)
Example #6 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
'locale' => 'en_US',
  
=> '%i',
  
=> -1234.5672,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '-USD 1,234.57',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #2
$input = [
  
'locale' => 'it_IT',
  
=> '%.2n',
  
=> -1234.5672,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '-EUR 1.234,57',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #3
$input = [
  
'locale' => 'en_US',
  
=> '%(#10n',
  
=> -1234.5672,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '($        1,234.57)',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #4
$input = [
  
'locale' => 'en_US',
  
=> '%=*(#10.2n',
  
=> -1234.5672,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '($********1,234.57)',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #5
$input = [
  
'locale' => 'de_DE',
  
=> '%=*^-14#8.2i',
  
=> 1234.56,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => ' ****1234,56 EUR',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #6
$input = [
  
'locale' => 'en_GB',
  
=> 'The final value is %i (after a 10%% discount)',
  
=> 1234.56,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => 'The final value is GBP1,234.56 (after a 10% discount)',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]