$path=read_directory('webroot');function read_directory(string $path){}为什么会出现这种错误 如果去掉string就没问题了Catchable fatal error: Argument 1 passed to read_directory() must be an instance of string, string given, called in D:\phpStudy\WWW\filesys\index.php on line 4 and defined in D:\phpStudy\WWW\filesys\lib\dir.func.php on line 2
添加回答
举报
0/150
提交
取消