Skip to content

Fails to compile with php 8.6.0 beta 1 #418

Closed

Description

@wyattoday

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

I haven't had time to dig into the error yet.

Activity

  1. andypost commented on Aug 12, 2026

    @andypost

    confirm it, caused by php/php-src@c82acefe470

  2. added a commit that references this issue on Aug 12, 2026
    d4a6ded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions