From: Antony Dovgal Date: Sun, 9 Sep 2007 22:28:06 +0000 (+0000) Subject: split one more ten-in-one test X-Git-Tag: php-5.2.5RC1~187 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99695744ac14a11d715c9243bad1ee45cb4cef43;p=php split one more ten-in-one test and fix \v\f stuff while we're here.. --- diff --git a/ext/standard/tests/strings/addcslashes.phpt b/ext/standard/tests/strings/addcslashes.phpt deleted file mode 100644 index 9c6e035dac..0000000000 Binary files a/ext/standard/tests/strings/addcslashes.phpt and /dev/null differ diff --git a/ext/standard/tests/strings/addcslashes_001.phpt b/ext/standard/tests/strings/addcslashes_001.phpt new file mode 100644 index 0000000000..ba45504c3a Binary files /dev/null and b/ext/standard/tests/strings/addcslashes_001.phpt differ diff --git a/ext/standard/tests/strings/addcslashes_002.phpt b/ext/standard/tests/strings/addcslashes_002.phpt new file mode 100644 index 0000000000..eb46803bbe --- /dev/null +++ b/ext/standard/tests/strings/addcslashes_002.phpt @@ -0,0 +1,33 @@ +--TEST-- +Test addcslashes() function (variation 2) +--INI-- +precision=14 +--FILE-- + +--EXPECTF-- +*** Testing addcslashes() with ASCII code between 0 and 31 *** +string(44) "goodyear12345NULL\000truefalse\a\v\f\b\n\r\t" + +*** Testing addcslashes() with objects *** +string(7) "O\bject" +Done diff --git a/ext/standard/tests/strings/addcslashes_003.phpt b/ext/standard/tests/strings/addcslashes_003.phpt new file mode 100644 index 0000000000..f1d658135b Binary files /dev/null and b/ext/standard/tests/strings/addcslashes_003.phpt differ diff --git a/ext/standard/tests/strings/addcslashes_004.phpt b/ext/standard/tests/strings/addcslashes_004.phpt new file mode 100644 index 0000000000..8f314fb557 --- /dev/null +++ b/ext/standard/tests/strings/addcslashes_004.phpt @@ -0,0 +1,30 @@ +--TEST-- +Test addcslashes() function (errors) +--INI-- +precision=14 +--FILE-- + +--EXPECTF-- +*** Testing error conditions *** + +Warning: Wrong parameter count for addcslashes() in %s on line %d +NULL + +Warning: Wrong parameter count for addcslashes() in %s on line %d +NULL + +Warning: Wrong parameter count for addcslashes() in %s on line %d +NULL +Done