summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fopen_variation8.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fopen_variation8.phpt')
-rw-r--r--ext/standard/tests/file/fopen_variation8.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/file/fopen_variation8.phpt b/ext/standard/tests/file/fopen_variation8.phpt
index dd95014ff3..eecaec7b4c 100644
--- a/ext/standard/tests/file/fopen_variation8.phpt
+++ b/ext/standard/tests/file/fopen_variation8.phpt
@@ -62,7 +62,7 @@ function test_fopen($mode) {
// create a file in the middle directory
$h = fopen($secondFile, "w");
- fwrite($h, (binary) "in dir2");
+ fwrite($h, "in dir2");
fclose($h);
echo "\n** testing with mode=$mode **\n";
@@ -74,7 +74,7 @@ function test_fopen($mode) {
//create a file in dir1
$h = fopen($firstFile, "w");
- fwrite($h, (binary) "in dir1");
+ fwrite($h, "in dir1");
fclose($h);
//should now read dir1 file
@@ -85,7 +85,7 @@ function test_fopen($mode) {
// create a file in working directory
$h = fopen($filename, "w");
- fwrite($h, (binary) "in working dir");
+ fwrite($h, "in working dir");
fclose($h);
//should read the dir1 file
@@ -105,7 +105,7 @@ function test_fopen($mode) {
// create a file in the script directory
$h = fopen($scriptFile, "w");
- fwrite($h, (binary) "in script dir");
+ fwrite($h, "in script dir");
fclose($h);
//should read the file in script dir