--TEST-- Test money_format() function : usage variations - test values for $format 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 'format' argument *** -- Iteration 1 -- unicode(1) "0" -- Iteration 2 -- unicode(1) "1" -- Iteration 3 -- unicode(3) "255" -- Iteration 4 -- unicode(3) "256" -- Iteration 5 -- unicode(10) "2147483647" -- Iteration 6 -- unicode(11) "-2147483648" -- Iteration 7 -- unicode(3) "0.5" -- Iteration 8 -- unicode(5) "-20.5" -- Iteration 9 -- unicode(12) "101234567000" -- Iteration 10 -- Warning: money_format() expects parameter 1 to be binary string, array given in %s on line %d NULL -- Iteration 11 -- Warning: money_format() expects parameter 1 to be binary string, array given in %s on line %d NULL -- Iteration 12 -- Warning: money_format() expects parameter 1 to be binary string, array given in %s on line %d NULL -- Iteration 13 -- unicode(1) "1" -- Iteration 14 -- unicode(0) "" -- Iteration 15 -- unicode(1) "1" -- Iteration 16 -- unicode(0) "" -- Iteration 17 -- unicode(0) "" -- Iteration 18 -- unicode(0) "" -- Iteration 19 -- unicode(4) "abcd" -- Iteration 20 -- unicode(4) "abcd" -- Iteration 21 -- unicode(5) "0x12f" -- Iteration 22 -- unicode(18) " *****1,234.56abcd" -- Iteration 23 -- Warning: money_format() expects parameter 1 to be binary string, object given in %s on line %d NULL -- Iteration 24 -- unicode(17) " sample object " -- Iteration 25 -- Warning: money_format() expects parameter 1 to be binary string, resource given in %s on line %d NULL -- Iteration 26 -- unicode(0) "" -- Iteration 27 -- unicode(0) "" Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d ===DONE===