Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在windows上可以尝试cygwin来编译 #5

Open
a251701981 opened this issue Sep 23, 2019 · 2 comments
Open

在windows上可以尝试cygwin来编译 #5

a251701981 opened this issue Sep 23, 2019 · 2 comments

Comments

@a251701981
Copy link

但是我看到windows上的php7.4已经直接带了php-ffi这个扩展了,也可以调用外部dll了

@zuocheng-liu
Copy link
Owner

之前在cygwin上面用gcc编译过,但是用PNI调用动态链接库还是会报错。

@zuocheng-liu
Copy link
Owner

但是我看到windows上的php7.4已经直接带了php-ffi这个扩展了,也可以调用外部dll了
嗯,已经有新的机制来解决怎么调用c语言了。感觉php-ffi 有点类似php-lua,把c代码内嵌到php代码里,每次运行都要编译一下,官网也说效率会慢一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants