From: Eyal Teutsch Date: Sun, 12 Dec 2010 07:24:51 +0000 (+0000) Subject: moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation... X-Git-Tag: php-5.3.6RC1~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95c4e449d15aa110d5c67bdf89f5fecf494bb9ac;p=php moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests --- 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-- +fwrite('test_write',12); var_dump(file_get_contents($file)); +?> +--CLEAN-- +fwrite('"test" \'write\''); var_dump(file_get_contents($file)); +?> +--CLEAN-- +