Bug #22904 (magic mode failed for cybase with '\0')
--FILE--
<?php
+not active yet
+/*
ini_set("magic_quotes_sybase","on");
test();
ini_set("magic_quotes_sybase","off");
test();
-
+*/
function test(){
$buf = 'g\g"\0g'."'";
$slashed = addslashes($buf);
echo "$buf\n";
echo "$slashed\n";
echo stripslashes($slashed."\n");
-}
-?>
---EXPECT--
+/*
g\g"\0g'
g\\g"\\0g''
g\g"\0g'
g\g"\0g'
g\\g\"\\0g\'
g\g"\0g'
+*/
+}
+?>
+--EXPECT--
+not active yet
\ No newline at end of file