From 7ceb485dae052d7b94e976b7a4757133ff5d3749 Mon Sep 17 00:00:00 2001 From: Alliballibaba Date: Tue, 23 Dec 2025 22:03:32 +0100 Subject: [PATCH] Prevents refcounting issues. --- testdata/integration/callable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/integration/callable.go b/testdata/integration/callable.go index 009c7221..731ad5fa 100644 --- a/testdata/integration/callable.go +++ b/testdata/integration/callable.go @@ -58,7 +58,7 @@ func (p *Processor) Transform(input *C.zend_string, callback *C.zval) unsafe.Poi resultStr, ok := callResult.(string) if !ok { - return unsafe.Pointer(input) + return frankenphp.PHPString(input, false) } return frankenphp.PHPString(resultStr, false)