jani Tue Sep 11 10:23:05 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/strings addslashes_variation3.phpt
stripslashes_variation5.phpt
Log:
- Fix tests (we are not interested what the old value was for the ini option)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/addslashes_variation3.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/strings/addslashes_variation3.phpt
diff -u php-src/ext/standard/tests/strings/addslashes_variation3.phpt:1.1.2.1
php-src/ext/standard/tests/strings/addslashes_variation3.phpt:1.1.2.2
--- php-src/ext/standard/tests/strings/addslashes_variation3.phpt:1.1.2.1
Thu Sep 6 04:01:25 2007
+++ php-src/ext/standard/tests/strings/addslashes_variation3.phpt Tue Sep
11 10:23:04 2007
@@ -15,7 +15,7 @@
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 @@
?>
--EXPECTF--
*** Testing addslashes() : with php directive magic_quotes_sybase set ON ***
-string(1) "0"
-- Iteration 1 --
string(11) "Hello world"
@@ -195,4 +194,4 @@
-- Iteration 34 --
string(0) ""
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/stripslashes_variation5.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/strings/stripslashes_variation5.phpt
diff -u php-src/ext/standard/tests/strings/stripslashes_variation5.phpt:1.1.2.1
php-src/ext/standard/tests/strings/stripslashes_variation5.phpt:1.1.2.2
--- php-src/ext/standard/tests/strings/stripslashes_variation5.phpt:1.1.2.1
Fri Sep 7 13:51:26 2007
+++ php-src/ext/standard/tests/strings/stripslashes_variation5.phpt Tue Sep
11 10:23:04 2007
@@ -14,7 +14,7 @@
echo "*** Testing stripslashes() : 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
@@ -93,7 +93,6 @@
?>
--EXPECTF--
*** Testing stripslashes() : with php directive magic_quotes_sybase set ON ***
-string(1) "0"
-- Iteration 1 --
string(31) "The string after addslashes is:"
@@ -288,4 +287,4 @@
string(0) ""
string(33) "The string after stripslashes is:"
string(0) ""
-Done
\ No newline at end of file
+Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php