diff options
| author | Jani Taskinen <jani@php.net> | 2007-11-05 17:43:21 +0000 |
|---|---|---|
| committer | Jani Taskinen <jani@php.net> | 2007-11-05 17:43:21 +0000 |
| commit | b3a334eaf20e4f6b05e9c6a0472d99df98b6dcbb (patch) | |
| tree | d0bc247698bceba73d299ed08ce32710ec8f1dfd /ext/standard/tests/file/filesize_variation3-win32.phpt | |
| parent | 43e73a56ab126076bb31ef04c7656aa0734c5921 (diff) | |
| download | php-git-b3a334eaf20e4f6b05e9c6a0472d99df98b6dcbb.tar.gz | |
Fix tests (MFH)
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"; |
