pecl-dbus icon indicating copy to clipboard operation
pecl-dbus copied to clipboard

PHP 8 update, use zend_objects or zval depending upon version

Open msaladna opened this issue 1 year ago • 1 comments

PHP 8 changes Object Handlers API to receive zend_object* instead of zval*. Compilation is preserved against 7.x. properties can be retrieved with zend_std_get_properties() for refcounting.

Still looking into the memory leaks as noted in #12. This extension compiles and runs cleanly against 8 now 👯

msaladna avatar Mar 07 '23 18:03 msaladna

thanks @msaladna

I had some random segfaults, fixed with your PR now. I owe you (and Derick!) a 🍺 :)

stefansaraev avatar Aug 25 '23 19:08 stefansaraev