Closed clearair closed 3 months ago
https://github.com/php/php-src/blob/5fc68d8babfcb15b9da67c80fce3ceaabe895ebd/Zend/zend_API.c#L3104
When a function definition has a type declaration, the arg_info will be rebuilt, which will break the phper hidden behind the arg_info. Let me think of a solution.
Hi I encountered an issue with the __toString method
rust 1.80 phper 0.13.1 php 8.3
rust code
php code
PHP Warning: Foo::__toString() implemented without string return type in Unknown on line 0 [1] 260527 segmentation fault php -d extension=./target/debug/libphp_foo.so test.php