php2go
                                
                                 php2go copied to clipboard
                                
                                    php2go copied to clipboard
                            
                            
                            
                        以下函数错误
github.com/openset/php2go/php
....\pkg\mod\github.com\openset\[email protected]\php\directory.go:27:22: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close
Compilation finished with exit code 2
// Closedir - Close directory's handle
func Closedir(fd int) (err error) {
	return syscall.Close(fd)
}
作者可以给版本打个标签,防止master分支被污染了
@rhettli 这个项目不能在生产中用,只能用于个人学习。里面实现的函数都没有做过完整的测试