summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fgetss_variation1-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fgetss_variation1-win32.phpt')
-rw-r--r--ext/standard/tests/file/fgetss_variation1-win32.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/standard/tests/file/fgetss_variation1-win32.phpt b/ext/standard/tests/file/fgetss_variation1-win32.phpt
index 7cd49333bf..b189b1b5a1 100644
--- a/ext/standard/tests/file/fgetss_variation1-win32.phpt
+++ b/ext/standard/tests/file/fgetss_variation1-win32.phpt
@@ -19,7 +19,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
x, xb, xt
*/
-// include the common file related test functions
+// include the common file related test functions
include ("file.inc");
echo "*** Testing fgetss() : usage variations ***\n";
@@ -55,23 +55,23 @@ for($mode_counter = 0; $mode_counter < count($file_modes); $mode_counter++) {
echo "Error: failed to open file $filename!\n";
exit();
}
-
+
// rewind the file pointer to beginning of the file
var_dump( filesize($filename) );
var_dump( rewind($file_handle) );
var_dump( ftell($file_handle) );
var_dump( feof($file_handle) );
- /* read entire file and strip tags */
+ /* read entire file and strip tags */
echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read --\n";
var_dump( fgetss($file_handle) ); // expected : no character should be read
var_dump( ftell($file_handle) ); //ensure that file pointer position is not changed
var_dump( feof($file_handle) ); // check if end of file pointer is set
-
- // close the file
+
+ // close the file
fclose($file_handle);
-
- // delete the file
+
+ // delete the file
delete_file($filename);
} // end of for - mode_counter