]> granicus.if.org Git - php/commitdiff
- fix test
authorPierre Joye <pajoye@php.net>
Thu, 28 Jan 2010 21:29:00 +0000 (21:29 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 28 Jan 2010 21:29:00 +0000 (21:29 +0000)
ext/standard/tests/file/fopen_variation17.phpt

index 75f24b3553af0a613dae3c6ed075007824b2645b..bc75c11c9089a4e6a1cae0d84d5c02cd21ae9e2d 100644 (file)
@@ -37,7 +37,7 @@ function runtest() {
     mkdir($dir1.'/'.$extraDir);
     mkdir($extraDir);
     
-       $tmpfile = $extraDir.'/ basename(__FILE__, ".php") . ".tmp"';
+       $tmpfile = $extraDir . '/' . basename(__FILE__, ".php") . ".tmp";
        $h = fopen($tmpfile, "w+", true);
        fwrite($h, (binary) "This is the test file");
        fclose($h);