--TEST-- Test sprintf() function : usage variations - char formats with char values --FILE-- --EXPECT-- *** Testing sprintf() : char formats with char values *** -- Iteration 1 -- string(1) "" string(1) "" string(2) " " string(2) " " string(2) " " string(2) " " string(1) "" string(1) "" -- Iteration 2 -- string(1) "" string(1) "" string(2) " " string(2) " " string(2) " " string(2) " " string(1) "" string(1) "" -- Iteration 3 -- string(1) "C" string(1) "C" string(2) " C" string(2) "C " string(2) " C" string(2) " C" string(1) "C" string(1) "C" -- Iteration 4 -- string(1) "½" string(1) "½" string(2) " ½" string(2) "½ " string(2) " ½" string(2) " ½" string(1) "½" string(1) "½" -- Iteration 5 -- string(1) "c" string(1) "c" string(2) " c" string(2) "c " string(2) " c" string(2) " c" string(1) "c" string(1) "c" -- Iteration 6 -- string(1) "" string(1) "" string(2) " " string(2) " " string(2) " " string(2) " " string(1) "" string(1) "" -- Iteration 7 -- string(1) "" string(1) "" string(2) " " string(2) " " string(2) " " string(2) " " string(1) "" string(1) "" -- Iteration 8 -- string(1) "" string(1) "" string(2) " " string(2) " " string(2) " " string(2) " " string(1) "" string(1) "" -- Iteration 9 -- string(1) "" string(1) "" string(2) " " string(2) " " string(2) " " string(2) " " string(1) "" string(1) "" Done