--TEST-- Test addcslashes() function (variation 1) --INI-- precision=14 --FILE-- --EXPECTF-- *** Testing addcslashes() for basic operations *** -- Iteration 1 -- string(36) "goodyear12345NULLtruefalse\a \b " -- Iteration 2 -- string(37) "goodyear1\2345NULLtruefalse\a \b " -- Iteration 3 -- Warning: addcslashes() expects parameter 2 to be string, array given in %s on line %d NULL -- Iteration 4 -- string(39) "goodye\ar12345NULLtruef\alse\\a \b " -- Iteration 5 -- string(39) "goodyear12345NULL\000truefalse\a \b " -- Iteration 6 -- string(37) "goodyear12345NULLtruefalse\a \b\n " -- Iteration 7 -- string(37) "goodyear12345NULLtruefalse\a \b \r " -- Iteration 8 -- string(37) "goodyear12345NULLtruefalse\a \b \t" -- Iteration 9 -- string(41) "goodye\ar12345NULLtruef\alse\\\a \\b " -- Iteration 10 -- string(37) "goodyear12345NULLtruefalse\a\v \b " -- Iteration 11 -- string(39) "goodyear12345NULLtruefalse\\a \\\b " -- Iteration 12 -- string(37) "goodyear12345NULLtruefalse\a \f\b " Done