com php-src: fix test: ext/standard/tests/file/file_put_con tents_variation7-win32.phpt

From: Date: Sat, 30 Apr 2016 19:15:57 +0000
Subject: com php-src: fix test: ext/standard/tests/file/file_put_con tents_variation7-win32.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91981@lists.php.net to get a copy of this message
Commit: 71df61adadfe276847167bd2f592c8196457c18d Author: Anatol Belski <ab@php.net> Sat, 30 Apr 2016 21:15:57 +0200 Parents: f59de7ea368da55f1f21ca82810febb3cdec06f0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=71df61adadfe276847167bd2f592c8196457c18d Log: fix test Changed paths: M ext/standard/tests/file/file_put_contents_variation7-win32.phpt Diff: diff --git a/ext/standard/tests/file/file_put_contents_variation7-win32.phpt b/ext/standard/tests/file/file_put_contents_variation7-win32.phpt index d7bfdf9..e1a94a2 100644 --- a/ext/standard/tests/file/file_put_contents_variation7-win32.phpt +++ b/ext/standard/tests/file/file_put_contents_variation7-win32.phpt @@ -59,10 +59,10 @@ for($i = 0; $i<count($allDirs); $i++) { $j = $i+1; $dir = $allDirs[$i]; echo "\n-- Iteration $j --\n"; - $res = file_put_contents($dir."\\".$filename, ($data + $i)); + $res = file_put_contents($dir."\\".$filename, ($data . $i)); if ($res !== false) { $in = file_get_contents($absFile); - if ($in == ($data + $i)) { + if ($in == ($data . $i)) { echo "Data written correctly\n"; } else { @@ -127,4 +127,4 @@ No data written -- Iteration 12 -- Data written correctly -*** Done *** \ No newline at end of file +*** Done ***

« previous php.cvs (#91981) next »