]> granicus.if.org Git - php/commitdiff
Revert to the previous version for these tests as they were overwritten by mistake...
authorAnt Phillips <ant@php.net>
Wed, 31 Dec 2008 10:18:20 +0000 (10:18 +0000)
committerAnt Phillips <ant@php.net>
Wed, 31 Dec 2008 10:18:20 +0000 (10:18 +0000)
ext/standard/tests/file/fflush_error.phpt

index 99ed328a8491c4d2db5407a8cbb5435040dc5849..bfbd6cc1b1749c9d1b26ec42be26ab951b21c130 100644 (file)
@@ -24,10 +24,9 @@ if($file_handle == false)
    
 var_dump( fflush($file_handle, $file_handle) );
 fclose($file_handle);
-fflush($file_handle);
 
 // test invalid arguments : non-resources
-echo "\n-- Testing fflush(): with invalid arguments --\n";
+echo "-- Testing fflush(): with invalid arguments --\n";
 $invalid_args = array (
   "string",
   10,
@@ -61,9 +60,6 @@ NULL
 
 Warning: Wrong parameter count for fflush() in %s on line %d
 NULL
-
-Warning: fflush(): %d is not a valid stream resource in %s on line %d
-
 -- Testing fflush(): with invalid arguments --
 -- Iteration 1 --