summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fgetc_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fgetc_basic.phpt')
-rw-r--r--ext/standard/tests/file/fgetc_basic.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/file/fgetc_basic.phpt b/ext/standard/tests/file/fgetc_basic.phpt
index 7851e432f3..4c6daa4e7f 100644
--- a/ext/standard/tests/file/fgetc_basic.phpt
+++ b/ext/standard/tests/file/fgetc_basic.phpt
@@ -22,7 +22,7 @@ for($outerloop_counter = 0; $outerloop_counter < count($file_content_types); $ou
echo " ---\n";
// create file file
create_files(dirname(__FILE__), 1, $file_content_types[$outerloop_counter], 0755, 1, "w", "fgetc_basic", 1);
-
+
//open the file in different modes and check the working of fgetc
for($innerloop_counter = 0; $innerloop_counter < count($file_modes); $innerloop_counter++) {
echo "-- Innerloop iteration ";
@@ -30,7 +30,7 @@ for($outerloop_counter = 0; $outerloop_counter < count($file_content_types); $ou
echo " of Outerloop Iteration ";
echo $outerloop_counter + 1;
echo " --\n";
-
+
// open the file using the $file_modes
$filename = dirname(__FILE__)."/fgetc_basic1.tmp"; // file name that is created by create_files
echo "-- Testing fgetc() : file opened using $file_modes[$innerloop_counter] mode --\n";
@@ -48,12 +48,12 @@ for($outerloop_counter = 0; $outerloop_counter < count($file_content_types); $ou
var_dump( feof($file_handle) ); // is it eof()
var_dump($file_handle); // dump the $file_handle to see if any thing got modifed
} // end of for
-
+
// close the file
fclose ( $file_handle);
} // end of innerloop for
-
+
// delete the file
delete_files(dirname(__FILE__), 1, "fgetc_basic", 1, ".tmp");