go-php icon indicating copy to clipboard operation
go-php copied to clipboard

PHP bindings for the Go programming language (Golang)

Results 22 go-php issues
Sort by recently updated
recently updated
newest added

There does not seem to be any updates since 2018? Is it still maintained? There is now PHP 8 out. [PHP 7 achieved end of life](https://www.php.net/supported-versions.php). PHP 5 is probably...

go:11:23: fatal error: main/php.h: No such file or directory // #include ^ compilation terminated. OS -> windows 10. i don't know how to fix it.

``` go package bug import ( "fmt" "github.com/deuill/go-php/engine" "os" "runtime" "testing" ) type TestObj struct{} func newTestObj(args []interface{}) interface{} { return &TestObj{} } func Test_bug(t *testing.T) { runtime.GOMAXPROCS(1) theEngine, err...

bug

Hello, wondering what the is issue with ZTS in PHP7? For most part handing tsrm resources is easier in php7 (mostly unnecessary in fact).

There is currently no easy way of populating request-specific globals in PHP contexts (apart from binding variables and setting globals in PHP). For `go-php` to be useful in replicating or...

Hello @deuill, would this package profit from https://github.com/basvanbeek/embed2-sapi ? Its not php7 but i think it would make it easy to use for concurrency php... with some trweaks. Regards, Josef

I am having this issue when trying to compile my project: ```bash # github.com/deuill/go-php src/github.com/deuill/go-php/context.go:11:23: fatal error: main/php.h: No such file or directory // #include ^ compilation terminated. ``` Could...

``` engine.c:43:10: warning: enumeration values 'SAPI_HEADER_DELETE_ALL' and 'SAPI_HEADER_SET_STATUS' not handled in switch [-Wswitch] engine.c:43:10: note: add missing switch cases # github.com/deuill/go-php receiver.c:79:1: warning: control reaches end of non-void function [-Wreturn-type]...

By default, configuration values for `log_errors` and `display_errors` depend on how PHP has been configured, and need to be made consistent in order for functionality to conform to expectations. Additionally,...