--TEST-- Test sprintf() function : usage variations - int formats with boolean values --FILE-- --EXPECT-- *** Testing sprintf() : integer formats with boolean values *** -- Iteration 1 -- string(1) "1" string(1) "d" string(1) "1" string(1) "d" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-9]" string(1) "d" -- Iteration 2 -- string(1) "0" string(1) "d" string(1) "0" string(1) "d" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "d" -- Iteration 3 -- string(1) "1" string(1) "d" string(1) "1" string(1) "d" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-9]" string(1) "d" -- Iteration 4 -- string(1) "0" string(1) "d" string(1) "0" string(1) "d" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "d" Done