kitech / php-go

Write PHP extension using go/golang. Zend API wrapper for go/golang.
882 stars 108 forks source link

HHVM Support #22

Open beatscode opened 7 years ago

beatscode commented 7 years ago

Is it possible to use this library to write extensions for HHVM?

kitech commented 7 years ago

HHVM support 3 type extension:

so, if enable hhvm.enable_zend_compat,it's possible should be work. but not test it here. thanks for your attension.

beatscode commented 6 years ago

I'm getting the following error

[Wed Jul 25 16:05:17 2018] [hphp] [1:7fa402c81980:0:000001] [] Uncaught exception: Could not open extension /etc/hhvm/phpgo.so: /etc/hhvm/phpgo.so: undefined symbol: zend_new_interned_string\n

Tried with and without the hhvm.enable_zend_compat.

Any suggestions