1--TEST-- 2addcslashes() and stripcslashes() function 3--FILE-- 4<?php 5echo addcslashes("", "")."\n"; 6echo addcslashes("", "burp")."\n"; 7echo addcslashes("kaboemkara!", "")."\n"; 8echo addcslashes("foobarbaz", 'bar')."\n"; 9echo addcslashes('foo[ ]', 'A..z')."\n"; 10echo @addcslashes("zoo['.']", 'z..A')."\n"; 11echo addcslashes('abcdefghijklmnopqrstuvwxyz', "a\145..\160z")."\n"; 12echo "\n\r" == stripcslashes('\n\r'),"\n"; 13echo stripcslashes('\065\x64')."\n"; 14echo stripcslashes('')."\n"; 15?> 16--EXPECT-- 17 18 19kaboemkara! 20foo\b\a\r\b\az 21\f\o\o\[ \] 22\zoo['\.'] 23\abcd\e\f\g\h\i\j\k\l\m\n\o\pqrstuvwxy\z 241 255d 26 27