--TEST-- Test addcslashes() function --INI-- precision=14 --FILE-- --EXPECTF-- *** Testing addcslashes() for basic operations *** -- Iteration 1 -- string(38) "goodyear12345NULLtruefalse\a\v\f\b " -- Iteration 2 -- string(39) "goodyear1\2345NULLtruefalse\a\v\f\b " -- Iteration 3 -- Notice: Array to string conversion in %s on line %d string(44) "good\ye\a\r12345NULLt\ruef\alse\\a\v\f\b " -- Iteration 4 -- string(41) "goodye\ar12345NULLtruef\alse\\a\v\f\b " -- Iteration 5 -- string(41) "goodyear12345NULL\000truefalse\a\v\f\b " -- Iteration 6 -- string(39) "goodyear12345NULLtruefalse\a\v\f\b\n " -- Iteration 7 -- string(39) "goodyear12345NULLtruefalse\a\v\f\b \r " -- Iteration 8 -- string(39) "goodyear12345NULLtruefalse\a\v\f\b \t" -- Iteration 9 -- string(45) "goodye\ar12345NULLtruef\alse\\\a\\v\\f\\b " -- Iteration 10 -- string(43) "goodyear12345NULLtruefalse\\a\\\v\\f\\b " -- Iteration 11 -- string(43) "goodyear12345NULLtruefalse\\a\\v\\f\\\b " -- Iteration 12 -- string(44) "goodyear12345NULLtrue\false\\a\\v\\\f\\b " *** Testing addcslashes() with ASCII code between 0 and 31 *** string(44) "goodyear12345NULL\000truefalse\a\v\f\b\n\r\t" *** Testing addcslashes() with objects *** string(7) "O\bject" *** Testing addcslashes() with miscelleneous input arguments *** string(0) "" string(0) "" string(11) "kaboemkara!" string(14) "foo\b\a\r\b\az" string(11) "\f\o\o\[ \]" string(10) "\zoo['\.']" string(40) "\abcd\e\f\g\h\i\j\k\l\m\n\o\pqrstuvwxy\z" string(6) "\1\2\3" string(3) "123" string(0) "" string(2) "\0" string(1) "" string(0) "" string(10) "-1.2\34578" string(2) "\ " string(22) "string\000with\000NULL" *** Testing error conditions *** Warning: Wrong parameter count for addcslashes() in %s on line %d NULL Warning: Wrong parameter count for addcslashes() in %s on line %d NULL Warning: Wrong parameter count for addcslashes() in %s on line %d NULL Done