--TEST-- Test sprintf() function : usage variations - int formats with float values --SKIPIF-- --FILE-- --EXPECT-- *** Testing sprintf() : integer formats with float values *** -- Iteration 1 -- string(10) "2147483648" string(1) "d" string(10) "2147483648" string(1) "d" string(11) " 2147483648" string(11) "2147483648 " string(11) " 2147483648" string(11) " 2147483648" string(10) "2147483648" string(30) " 2147483648" string(4) "0-9]" string(1) "d" -- Iteration 2 -- string(11) "34359738369" string(1) "d" string(11) "34359738369" string(1) "d" string(12) " 34359738369" string(12) "34359738369 " string(12) " 34359738369" string(12) " 34359738369" string(11) "34359738369" string(30) " 34359738369" string(4) "0-9]" string(1) "d" -- Iteration 3 -- string(10) "2147483649" string(1) "d" string(10) "2147483649" string(1) "d" string(11) " 2147483649" string(11) "2147483649 " string(11) " 2147483649" string(11) " 2147483649" string(10) "2147483649" string(30) " 2147483649" 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" -- Iteration 5 -- 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 6 -- 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 7 -- string(6) "100000" string(1) "d" string(6) "100000" string(1) "d" string(7) " 100000" string(7) "100000 " string(7) " 100000" string(7) " 100000" string(6) "100000" string(30) " 100000" string(4) "0-9]" string(1) "d" -- Iteration 8 -- string(8) "-1000000" string(1) "d" string(8) "-1000000" string(1) "d" string(9) " -1000000" string(9) "-1000000 " string(9) " -1000000" string(9) " -1000000" string(8) "-1000000" string(30) " -1000000" string(4) "0-9]" string(1) "d" -- Iteration 9 -- string(9) "100000000" string(1) "d" string(9) "100000000" string(1) "d" string(10) " 100000000" string(10) "100000000 " string(10) " 100000000" string(10) " 100000000" string(9) "100000000" string(30) " 100000000" string(4) "0-9]" string(1) "d" -- Iteration 10 -- string(11) "-1000000000" string(1) "d" string(11) "-1000000000" string(1) "d" string(12) " -1000000000" string(12) "-1000000000 " string(12) " -1000000000" string(12) " -1000000000" string(11) "-1000000000" string(30) " -1000000000" string(4) "0-9]" string(1) "d" -- Iteration 11 -- string(2) "10" string(1) "d" string(2) "10" string(1) "d" string(3) " 10" string(3) "10 " string(3) " 10" string(3) " 10" string(4) " 10" string(30) " 10" string(4) "0-9]" string(1) "d" -- Iteration 12 -- string(7) "1050000" string(1) "d" string(7) "1050000" string(1) "d" string(8) " 1050000" string(8) "1050000 " string(8) " 1050000" string(8) " 1050000" string(7) "1050000" string(30) " 1050000" string(4) "0-9]" string(1) "d" Done