diff options
Diffstat (limited to 'ext/standard/tests/file/filesize_variation3-win32.phpt')
| -rw-r--r-- | ext/standard/tests/file/filesize_variation3-win32.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/tests/file/filesize_variation3-win32.phpt b/ext/standard/tests/file/filesize_variation3-win32.phpt index 51f6f3dacb..f46695954c 100644 --- a/ext/standard/tests/file/filesize_variation3-win32.phpt +++ b/ext/standard/tests/file/filesize_variation3-win32.phpt @@ -14,12 +14,11 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { */ $file_path = dirname(__FILE__); -require($file_path."/file.inc"); echo "*** Testing filesize(): usage variations ***\n"; $filename = $file_path."/filesize_variation3.tmp"; $file_handle = fopen($filename, "w"); -fwrite($file_handle, str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes +fwrite($file_handle, (binary)str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes fclose($file_handle); echo "-- Testing filesize() after truncating the file to a new length --\n"; |
