From: Jani Taskinen Date: Tue, 11 Sep 2007 10:23:04 +0000 (+0000) Subject: - Fix tests (we are not interested what the old value was for the ini option) X-Git-Tag: php-5.2.5RC1~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3327653e1975c6ced9dcd2d537484c02d7b00542;p=php - Fix tests (we are not interested what the old value was for the ini option) --- diff --git a/ext/standard/tests/strings/addslashes_variation3.phpt b/ext/standard/tests/strings/addslashes_variation3.phpt index 72b84823b1..302ca7e18b 100644 --- a/ext/standard/tests/strings/addslashes_variation3.phpt +++ b/ext/standard/tests/strings/addslashes_variation3.phpt @@ -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 = << --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 diff --git a/ext/standard/tests/strings/stripslashes_variation5.phpt b/ext/standard/tests/strings/stripslashes_variation5.phpt index a50691778a..0507e04960 100644 Binary files a/ext/standard/tests/strings/stripslashes_variation5.phpt and b/ext/standard/tests/strings/stripslashes_variation5.phpt differ