--TEST-- Test sprintf() function : usage variations - octal formats with integer values --SKIPIF-- --FILE-- --EXPECT-- *** Testing sprintf() : octal formats with integer values *** -- Iteration 1 -- string(1) "0" string(1) "o" string(1) "0" string(1) "o" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-7]" string(1) "o" -- Iteration 2 -- string(1) "1" string(1) "o" string(1) "1" string(1) "o" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-7]" string(1) "o" -- Iteration 3 -- string(11) "37777777777" string(1) "o" string(11) "37777777777" string(1) "o" string(12) " 37777777777" string(12) "37777777777 " string(12) " 37777777777" string(12) " 37777777777" string(11) "37777777777" string(30) " 37777777777" string(4) "0-7]" string(1) "o" -- Iteration 4 -- string(11) "20000000000" string(1) "o" string(11) "20000000000" string(1) "o" string(12) " 20000000000" string(12) "20000000000 " string(12) " 20000000000" string(12) " 20000000000" string(11) "20000000000" string(30) " 20000000000" string(4) "0-7]" string(1) "o" -- Iteration 5 -- string(11) "20000000001" string(1) "o" string(11) "20000000001" string(1) "o" string(12) " 20000000001" string(12) "20000000001 " string(12) " 20000000001" string(12) " 20000000001" string(11) "20000000001" string(30) " 20000000001" string(4) "0-7]" string(1) "o" -- Iteration 6 -- string(11) "17777777777" string(1) "o" string(11) "17777777777" string(1) "o" string(12) " 17777777777" string(12) "17777777777 " string(12) " 17777777777" string(12) " 17777777777" string(11) "17777777777" string(30) " 17777777777" string(4) "0-7]" string(1) "o" -- Iteration 7 -- string(11) "17777777770" string(1) "o" string(11) "17777777770" string(1) "o" string(12) " 17777777770" string(12) "17777777770 " string(12) " 17777777770" string(12) " 17777777770" string(11) "17777777770" string(30) " 17777777770" string(4) "0-7]" string(1) "o" -- Iteration 8 -- string(5) "11073" string(1) "o" string(5) "11073" string(1) "o" string(6) " 11073" string(6) "11073 " string(6) " 11073" string(6) " 11073" string(5) "11073" string(30) " 11073" string(4) "0-7]" string(1) "o" -- Iteration 9 -- string(5) "11253" string(1) "o" string(5) "11253" string(1) "o" string(6) " 11253" string(6) "11253 " string(6) " 11253" string(6) " 11253" string(5) "11253" string(30) " 11253" string(4) "0-7]" string(1) "o" -- Iteration 10 -- string(4) "7777" string(1) "o" string(4) "7777" string(1) "o" string(5) " 7777" string(5) "7777 " string(5) " 7777" string(5) " 7777" string(4) "7777" string(30) " 7777" string(4) "0-7]" string(1) "o" -- Iteration 11 -- string(3) "372" string(1) "o" string(3) "372" string(1) "o" string(4) " 372" string(4) "372 " string(4) " 372" string(4) " 372" string(4) " 372" string(30) " 372" string(4) "0-7]" string(1) "o" -- Iteration 12 -- string(11) "20000000000" string(1) "o" string(11) "20000000000" string(1) "o" string(12) " 20000000000" string(12) "20000000000 " string(12) " 20000000000" string(12) " 20000000000" string(11) "20000000000" string(30) " 20000000000" string(4) "0-7]" string(1) "o" -- Iteration 13 -- string(11) "17777777777" string(1) "o" string(11) "17777777777" string(1) "o" string(12) " 17777777777" string(12) "17777777777 " string(12) " 17777777777" string(12) " 17777777777" string(11) "17777777777" string(30) " 17777777777" string(4) "0-7]" string(1) "o" -- Iteration 14 -- string(11) "17777777777" string(1) "o" string(11) "17777777777" string(1) "o" string(12) " 17777777777" string(12) "17777777777 " string(12) " 17777777777" string(12) " 17777777777" string(11) "17777777777" string(30) " 17777777777" string(4) "0-7]" string(1) "o" -- Iteration 15 -- string(3) "123" string(1) "o" string(3) "123" string(1) "o" string(4) " 123" string(4) "123 " string(4) " 123" string(4) " 123" string(4) " 123" string(30) " 123" string(4) "0-7]" string(1) "o" -- Iteration 16 -- string(1) "1" string(1) "o" string(1) "1" string(1) "o" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-7]" string(1) "o" -- Iteration 17 -- string(11) "20000000000" string(1) "o" string(11) "20000000000" string(1) "o" string(12) " 20000000000" string(12) "20000000000 " string(12) " 20000000000" string(12) " 20000000000" string(11) "20000000000" string(30) " 20000000000" string(4) "0-7]" string(1) "o" -- Iteration 18 -- string(11) "17777777777" string(1) "o" string(11) "17777777777" string(1) "o" string(12) " 17777777777" string(12) "17777777777 " string(12) " 17777777777" string(12) " 17777777777" string(11) "17777777777" string(30) " 17777777777" string(4) "0-7]" string(1) "o" Done