]> granicus.if.org Git - php/commitdiff
- Fix tests (we are not interested what the old value was for the ini option)
authorJani Taskinen <jani@php.net>
Tue, 11 Sep 2007 10:23:04 +0000 (10:23 +0000)
committerJani Taskinen <jani@php.net>
Tue, 11 Sep 2007 10:23:04 +0000 (10:23 +0000)
ext/standard/tests/strings/addslashes_variation3.phpt
ext/standard/tests/strings/stripslashes_variation5.phpt

index 72b84823b141bb6454cd00dc213d9beb53003a50..302ca7e18b543bf40defeb3cd61a2adedc45fbbf 100644 (file)
@@ -15,7 +15,7 @@ Test addslashes() function : usage variations - with magic_quotes_sybase directi
 echo "*** Testing addslashes() : with php directive magic_quotes_sybase set ON ***\n";
 
 // setting ON the php directive magic_quotes_sybase
-var_dump( ini_set("magic_quotes_sybase", "1") );
+ini_set("magic_quotes_sybase", "1");
 
 // initialising a heredoc string
 $heredoc_string = <<<EOT
@@ -91,7 +91,6 @@ echo "Done\n";
 ?>
 --EXPECTF--
 *** Testing addslashes() : with php directive magic_quotes_sybase set ON ***
-string(1) "0"
 
 -- Iteration 1 --
 string(11) "Hello world"
@@ -195,4 +194,4 @@ This is line 2 of "heredoc" string"
 
 -- Iteration 34 --
 string(0) ""
-Done
\ No newline at end of file
+Done
index a50691778acb820f94406af2439f96c1ed402abf..0507e04960797c83bdef221c4da36a8b8c01ea69 100644 (file)
Binary files a/ext/standard/tests/strings/stripslashes_variation5.phpt and b/ext/standard/tests/strings/stripslashes_variation5.phpt differ