Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 php 中,is_dir() 函数省略了包含非英文字符的目录。IE。is_dir("C:\ekşi") 根据函数不是目录,但它是。这种情况有什么解决办法吗?谢谢
可悲的是,这不是错误。在 PHP 6 之前,没有 unicode 字符支持这种操作。
参考:http ://www.php.net/manual/en/function.scandir.php#96140