--TEST-- Test sprintf() function : usage variations - unsigned formats with string values --SKIPIF-- --FILE-- --EXPECT-- *** Testing sprintf() : unsigned formats with string values *** -- Iteration 1 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 2 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 3 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 4 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 5 -- string(1) "1" string(1) "u" string(1) "1" string(1) "u" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-9]" string(1) "u" -- Iteration 6 -- string(1) "1" string(1) "u" string(1) "1" string(1) "u" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-9]" string(1) "u" -- Iteration 7 -- string(10) "4294967173" string(1) "u" string(10) "4294967173" string(1) "u" string(11) " 4294967173" string(11) "4294967173 " string(11) " 4294967173" string(11) " 4294967173" string(10) "4294967173" string(30) " 4294967173" string(4) "0-9]" string(1) "u" -- Iteration 8 -- string(3) "123" string(1) "u" string(3) "123" string(1) "u" string(4) " 123" string(4) "123 " string(4) " 123" string(4) " 123" string(4) " 123" string(30) " 123" string(4) "0-9]" string(1) "u" -- Iteration 9 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 10 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 11 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 12 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 13 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 14 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 15 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 16 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 17 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 18 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 19 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 20 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" Done