]> granicus.if.org Git - php/commitdiff
revert due the last string.c revert
authorMoshe Doron <momo@php.net>
Tue, 1 Apr 2003 12:53:44 +0000 (12:53 +0000)
committerMoshe Doron <momo@php.net>
Tue, 1 Apr 2003 12:53:44 +0000 (12:53 +0000)
ext/standard/tests/strings/bug22904.phpt

index b599b7df6bdd750b466f2218d28b2f5059cebf31..91772a0c8c5285c77775e9b12f87fa999ba61d64 100644 (file)
@@ -2,23 +2,28 @@
 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