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--
17kaboemkara!
18foo\b\a\r\b\az
19\f\o\o\[ \]
20\zoo['\.']
21\abcd\e\f\g\h\i\j\k\l\m\n\o\pqrstuvwxy\z
221
235d
24