summaryrefslogtreecommitdiff
path: root/ext/bz2/tests
diff options
context:
space:
mode:
authorAlexey Zakhlestin <indeyets@php.net>2008-06-22 12:03:30 +0000
committerAlexey Zakhlestin <indeyets@php.net>2008-06-22 12:03:30 +0000
commite4ad58109fcc75379c70e05efe5b355358a71639 (patch)
tree0736069c320edee7ca091d58bb6c68769b69759a /ext/bz2/tests
parent592cecf7d4058169edddb48603b1ba31d3983061 (diff)
downloadphp-git-e4ad58109fcc75379c70e05efe5b355358a71639.tar.gz
updated to the new parameter-parsing api
Diffstat (limited to 'ext/bz2/tests')
-rw-r--r--ext/bz2/tests/001.phpt2
-rw-r--r--ext/bz2/tests/002.phpt4
-rw-r--r--ext/bz2/tests/005.phpt2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/bz2/tests/001.phpt b/ext/bz2/tests/001.phpt
index a4ef1a2af7..47dbfe8499 100644
--- a/ext/bz2/tests/001.phpt
+++ b/ext/bz2/tests/001.phpt
@@ -19,7 +19,7 @@ var_dump(bzopen($fp, "r"));
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for bzopen() in %s on line %d
+Warning: bzopen() expects exactly 2 parameters, 0 given in %s on line %d
NULL
Warning: bzopen(): '' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on line %d
diff --git a/ext/bz2/tests/002.phpt b/ext/bz2/tests/002.phpt
index 7b9673275c..c55e22d0af 100644
--- a/ext/bz2/tests/002.phpt
+++ b/ext/bz2/tests/002.phpt
@@ -85,12 +85,12 @@ resource(%d) of type (stream)
Warning: fopen(bz_open_002.txt): failed to open stream: Bad file %s in %s on line %d
-Warning: bzopen(): filename cannot be empty in %s on line %d
+Warning: bzopen(): first parameter has to be string or file-resource in %s on line %d
bool(false)
Warning: fopen(bz_open_002.txt): failed to open stream: Bad file %s in %s on line %d
-Warning: bzopen(): filename cannot be empty in %s on line %d
+Warning: bzopen(): first parameter has to be string or file-resource in %s on line %d
bool(false)
Warning: bzopen(): cannot write to a stream opened in read only mode in %s on line %d
diff --git a/ext/bz2/tests/005.phpt b/ext/bz2/tests/005.phpt
index fc2235d627..da29a6d0b4 100644
--- a/ext/bz2/tests/005.phpt
+++ b/ext/bz2/tests/005.phpt
@@ -38,7 +38,7 @@ var_dump(bzdecompress($data2));
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for bzcompress() in %s on line %d
+Warning: bzcompress() expects at least 1 parameter, 0 given in %s on line %d
NULL
string(%d) "BZ%a"
int(-2)