当路径包含" \"时,fnmatch无法正常工作用PHP

时间:2017-04-04 13:39:44

标签: php windows

我想知道为什么以下调用返回}}

}

虽然这个返回false

fnmatch("\\*", "\foo.txt"); //=> false

我正在使用 PHP 7.1 并使用 Windows 7

谢谢:)

0 个答案:

没有答案
相关问题