summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fscanf.phpt
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-08-12 19:38:54 +0000
committerFelipe Pena <felipe@php.net>2008-08-12 19:38:54 +0000
commit318efa7f107bd033275e39c115b2606f883e2d08 (patch)
treeac7075450ba62e870716aace5d7a3e46cc6f856a /ext/standard/tests/file/fscanf.phpt
parentcf7384aa4015de9dd21a958146933bbf1f13f0a9 (diff)
downloadphp-git-318efa7f107bd033275e39c115b2606f883e2d08.tar.gz
- New parameter parsing API (for fscanf)
Diffstat (limited to 'ext/standard/tests/file/fscanf.phpt')
-rw-r--r--ext/standard/tests/file/fscanf.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/file/fscanf.phpt b/ext/standard/tests/file/fscanf.phpt
index 9e154b35f9..c37bdeb20a 100644
--- a/ext/standard/tests/file/fscanf.phpt
+++ b/ext/standard/tests/file/fscanf.phpt
@@ -60,14 +60,14 @@ var_dump(fscanf($fp, "%s%d", $v));
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for fscanf() in %s on line %d
+Warning: fscanf() expects at least 2 parameters, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for fscanf() in %s on line %d
+Warning: fscanf() expects at least 2 parameters, 1 given in %s on line %d
NULL
-Warning: fscanf(): supplied argument is not a valid File-Handle resource in %s on line %d
-bool(false)
+Warning: fscanf() expects parameter 1 to be resource, array given in %s on line %d
+NULL
int(0)
NULL
int(1)