You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling with the latest 8.6.0 beta it fails to compile with the following error:
/sources/php-8.6.0beta1/ext/igbinary/src/php7/igbinary.c: In function 'igbinary_unserialize_object':
/sources/php-8.6.0beta1/ext/igbinary/src/php7/igbinary.c:3182:32: error: assignment to 'const char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types]
3182 | user_func_name = PG(unserialize_callback_func);
| ^
/sources/php-8.6.0beta1/ext/igbinary/src/php7/igbinary.c:3213:70: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'zend_string *' {aka 'struct _zend_string *'} [-Wformat=]
3213 | php_error_docref(NULL, E_WARNING, "Function %s() hasn't defined the class it was called for", PG(unserialize_callback_func));
| ~^
| |
| char *
make: *** [Makefile:1035: ext/igbinary/src/php7/igbinary.lo] Error 1
Activity
andypost commentedon Aug 12, 2026
confirm it, caused by php/php-src@c82acefe470
Fix build with PHP 8.6: unserialize_callback_func is a zend_string