When installing from PECL compilation fails for PHP 8 because TSRM macros removed from PHP 8. Installation from Github works fine.
Compilation error looks like:
In file included from /private/tmp/pear/temp/fann/fann.c:31:
/private/tmp/pear/temp/fann/php_fann.h:229:40: error: a parameter list without types is only allowed in a function definition
void php_fannconnection_register_class(TSRMLS_D);
^
Apology for very long silence. This has been actually available for some time as RC2. I just released stable version which should work with all PHP 8 versions.
When installing from PECL compilation fails for PHP 8 because TSRM macros removed from PHP 8. Installation from Github works fine.
Compilation error looks like:
See https://github.com/php/php-src/blob/PHP-8.0/UPGRADING.INTERNALS: