mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
Fixes return type
This commit is contained in:
2
types.go
2
types.go
@@ -411,7 +411,7 @@ func PHPValue(value any) unsafe.Pointer {
|
||||
}
|
||||
|
||||
// EXPERIMENTAL: PHPReturnValue is equivalent to PHPValue, but will populate the provided *C.zval directly.
|
||||
func PHPReturnValue(zval unsafe.Pointer, value any) unsafe.Pointer {
|
||||
func PHPReturnValue(zval unsafe.Pointer, value any) {
|
||||
phpValue((*C.zval)(zval), value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user