We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f8c4d commit b73a73dCopy full SHA for b73a73d
ext/standard/tests/directory/bug74589_utf8.phpt
@@ -2,7 +2,7 @@
2
Bug #74589 __DIR__ wrong for unicode character, UTF-8
3
--SKIPIF--
4
<?php
5
-if (substr(PHP_OS, 0, 3) != 'WIN' || PHP_OS != 'Linux') {
+if (substr(PHP_OS, 0, 3) != 'WIN' && PHP_OS != 'Linux') {
6
die('skip Linux or Windows only');
7
}
8
?>
@@ -35,7 +35,7 @@ echo shell_exec("$php -n $test_file");
35
===DONE===
36
--EXPECTF--
37
string(%d) "%sbug74589_新建文件夹"
38
-string(%d) "%sbug74589_新建文件夹\test.php"
+string(%d) "%sbug74589_新建文件夹%etest.php"
39
bool(true)
40
41
--CLEAN--
0 commit comments