summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/SplFileObject_fwrite_variation_001.phpt')
-rw-r--r--ext/spl/tests/SplFileObject_fwrite_variation_001.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt b/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
index f8d518f9a6..61741a8bf5 100644
--- a/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
+++ b/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
@@ -9,6 +9,10 @@ if(file_exists($file)) {
$obj = New SplFileObject($file,'w');
$obj->fwrite('test_write',4);
var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_001.txt';
if(file_exists($file)) {
unlink($file);
}