- Fix tests (we are not interested what the old value was for the ini option)

This commit is contained in:
Jani Taskinen 2007-09-11 10:23:04 +00:00
parent b33ea59337
commit 3327653e19
2 changed files with 2 additions and 3 deletions

View 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"; echo "*** Testing addslashes() : with php directive magic_quotes_sybase set ON ***\n";
// setting ON the php directive magic_quotes_sybase // 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 // initialising a heredoc string
$heredoc_string = <<<EOT $heredoc_string = <<<EOT
@ -91,7 +91,6 @@ echo "Done\n";
?> ?>
--EXPECTF-- --EXPECTF--
*** Testing addslashes() : with php directive magic_quotes_sybase set ON *** *** Testing addslashes() : with php directive magic_quotes_sybase set ON ***
string(1) "0"
-- Iteration 1 -- -- Iteration 1 --
string(11) "Hello world" string(11) "Hello world"
@ -195,4 +194,4 @@ This is line 2 of "heredoc" string"
-- Iteration 34 -- -- Iteration 34 --
string(0) "" string(0) ""
Done Done