Fixes return type

This commit is contained in:
Alliballibaba
2025-12-28 21:50:35 +01:00
parent 1f9da1c716
commit 512d2f161e

View File

@@ -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)
}