--TEST-- Test money_format() function : usage variations - test values for $number argument --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d *** Testing money_format() function: with unexpected inputs for 'number' argument *** -- Iteration 1 -- unicode(18) " USD 0.00" -- Iteration 2 -- unicode(18) " USD 1.00" -- Iteration 3 -- unicode(18) " USD 255.00" -- Iteration 4 -- unicode(18) " USD 256.00" -- Iteration 5 -- unicode(21) " USD 2,147,483,647.00" -- Iteration 6 -- unicode(21) "-USD 2,147,483,648.00" -- Iteration 7 -- unicode(18) " USD 10.50" -- Iteration 8 -- unicode(18) "-USD 20.50" -- Iteration 9 -- unicode(23) " USD 101,234,567,000.00" -- Iteration 10 -- Warning: money_format() expects parameter 2 to be double, array given in %s on line %d NULL -- Iteration 11 -- Warning: money_format() expects parameter 2 to be double, array given in %s on line %d NULL -- Iteration 12 -- Warning: money_format() expects parameter 2 to be double, array given in %s on line %d NULL -- Iteration 13 -- unicode(18) " USD 1.00" -- Iteration 14 -- unicode(18) " USD 0.00" -- Iteration 15 -- unicode(18) " USD 1.00" -- Iteration 16 -- unicode(18) " USD 0.00" -- Iteration 17 -- unicode(18) " USD 0.00" -- Iteration 18 -- unicode(18) " USD 0.00" -- Iteration 19 -- Warning: money_format() expects parameter 2 to be double, Unicode string given in %s on line %d NULL -- Iteration 20 -- Warning: money_format() expects parameter 2 to be double, Unicode string given in %s on line %d NULL -- Iteration 21 -- unicode(18) " USD 303.00" -- Iteration 22 -- Warning: money_format() expects parameter 2 to be double, Unicode string given in %s on line %d NULL -- Iteration 23 -- Warning: money_format() expects parameter 2 to be double, object given in %s on line %d NULL -- Iteration 24 -- Warning: money_format() expects parameter 2 to be double, object given in %s on line %d NULL -- Iteration 25 -- Warning: money_format() expects parameter 2 to be double, resource given in %s on line %d NULL -- Iteration 26 -- unicode(18) " USD 0.00" -- Iteration 27 -- unicode(18) " USD 0.00" Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d ===DONE===