summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fscanf_variation11.phpt
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-11-05 17:43:21 +0000
committerJani Taskinen <jani@php.net>2007-11-05 17:43:21 +0000
commitb3a334eaf20e4f6b05e9c6a0472d99df98b6dcbb (patch)
treed0bc247698bceba73d299ed08ce32710ec8f1dfd /ext/standard/tests/file/fscanf_variation11.phpt
parent43e73a56ab126076bb31ef04c7656aa0734c5921 (diff)
downloadphp-git-b3a334eaf20e4f6b05e9c6a0472d99df98b6dcbb.tar.gz
Fix tests (MFH)
Diffstat (limited to 'ext/standard/tests/file/fscanf_variation11.phpt')
-rw-r--r--ext/standard/tests/file/fscanf_variation11.phpt29
1 files changed, 3 insertions, 26 deletions
diff --git a/ext/standard/tests/file/fscanf_variation11.phpt b/ext/standard/tests/file/fscanf_variation11.phpt
index f01a72e5af..27de2ae5df 100644
--- a/ext/standard/tests/file/fscanf_variation11.phpt
+++ b/ext/standard/tests/file/fscanf_variation11.phpt
@@ -47,8 +47,8 @@ $counter = 1;
// writing to the file
foreach($array_types as $value) {
- fprintf($file_handle, $value);
- fprintf($file_handle, "\n");
+ @fprintf($file_handle, $value);
+ @fprintf($file_handle, "\n");
}
// closing the file
fclose($file_handle);
@@ -82,30 +82,6 @@ unlink($filename);
--EXPECTF--
*** Test fscanf(): different float format types with arrays ***
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-- iteration 1 --
array(1) {
[0]=>
@@ -734,3 +710,4 @@ array(0) {
bool(false)
*** Done ***
+