Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swoole build for PHP-8.4 ZEND_EXIT has been removed #5451

Closed
petk opened this issue Aug 18, 2024 · 2 comments
Closed

Swoole build for PHP-8.4 ZEND_EXIT has been removed #5451

petk opened this issue Aug 18, 2024 · 2 comments

Comments

@petk
Copy link
Member

petk commented Aug 18, 2024

Please answer these questions before submitting your issue.

  1. What did you do? If possible, provide a simple script for reproducing the error.
# PHP 8.4 phpize
phpize
./configure
make
  1. What did you expect to see?

Successful build.

  1. What did you see instead?
/swoole-src/ext-src/swoole_coroutine.cc:990:57: error: 'ZEND_EXIT' was not declared in this scope; did you mean 'ZEND_CAST'?
  990 |         ori_exit_handler = zend_get_user_opcode_handler(ZEND_EXIT);
      |                                                         ^~~~~~~~~
      |                                                         ZEND_CAST
  1. What version of Swoole are you using (show your php --ri swoole)?

master branch

  1. What is your machine environment used (show your uname -a & php -v & gcc -v) ?

Linux, GCC, PHP 8.4

This is related to the recent RFC being merged to PHP 8.4 (current php-src master branch)
php/php-src#13483

@NathanFreeman
Copy link
Member

I will fix it later.

@matyhtf matyhtf added the in progress Maintainers are working on this label Aug 22, 2024
@NathanFreeman
Copy link
Member

#5462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants