summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/copy_variation10.phpt
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-11-05 17:43:21 +0000
committerJani Taskinen <jani@php.net>2007-11-05 17:43:21 +0000
commitb3a334eaf20e4f6b05e9c6a0472d99df98b6dcbb (patch)
treed0bc247698bceba73d299ed08ce32710ec8f1dfd /ext/standard/tests/file/copy_variation10.phpt
parent43e73a56ab126076bb31ef04c7656aa0734c5921 (diff)
downloadphp-git-b3a334eaf20e4f6b05e9c6a0472d99df98b6dcbb.tar.gz
Fix tests (MFH)
Diffstat (limited to 'ext/standard/tests/file/copy_variation10.phpt')
-rw-r--r--ext/standard/tests/file/copy_variation10.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/copy_variation10.phpt b/ext/standard/tests/file/copy_variation10.phpt
index c5cbc84254..98494af043 100644
--- a/ext/standard/tests/file/copy_variation10.phpt
+++ b/ext/standard/tests/file/copy_variation10.phpt
@@ -14,7 +14,7 @@ $file_path = dirname(__FILE__);
echo "*** Test copy(): Trying to create a copy of file with the same source name ***\n";
$file = $file_path."/copy_variation10.tmp";
$file_handle = fopen($file, "w");
-fwrite($file_handle, str_repeat("Hello2world...\n", 100));
+fwrite($file_handle, str_repeat(b"Hello2world...\n", 100));
fclose($file_handle);
var_dump( copy($file, $file) );