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
Support for PHP 8 #1599
Comments
Hi, It seems there's some work to make the PHP plugin compatible. I just pushed a "php8" branch with the detection of PHP 8.0 and I fixed some compilation errors. For example with this test script:
I have this output when loading the script:
But if I run the command
And I have an error when quitting WeeChat (even with no PHP scripts loaded):
As I don't have enough time to debug this now, help is welcome to fix the support of PHP 8.0 on the php8 branch. 😃 |
Now the PHP plugin doesn't compile any more on Ubuntu Impish (21.10), where the PHP 7 devel package is not available any more. @adsr : as you're the original author of the PHP plugin, your help would be appreciated if you have time to look and fix the support of PHP8 (on the |
Yes I will take a look. Thank you for the heads up @flashcode |
@flashcode Anything else remaining to close this? |
@adsr: no, I forgot to close this one, thanks for the reminder. |
Feature description
Weechat supports PHP 7.x but not 8.x which is the current release. When running cmake with PHP 8.0.0 it fails with the output:-
Output from
php-config --version
:-The text was updated successfully, but these errors were encountered: