Description
PHP 8.1
As the ppa:ondrej/php
include now php8.1-rc5
, I'm starting to test the frameworks for the benchmark.
PHP 8.1 final will be released 25th of this month.
https://www.php.net/releases/8.1/en.php
If you want to view the php8.0 update info, check #6184, that is closed now.
This list will be updated as we found problems or solutions.
Opened #7703 for php8.2
Need to fix
-
php-ngx
don't compile Fail to compile with php8.1 rryqszq4/ngx-php#133 -
webman
Webman fail with php8.1 walkor/webman#249exit with status 139
-
comet
Problems with php 8.1 gotzmann/comet#26Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /comet/vendor/workerman/workerman/Protocols/Http/Request.php on line 166
And variousexit with status 139
-
fat-free
PHP 8.1 issue bcosca/fatfree#1241PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in /fat-free/vendor/bcosca/fatfree-core/base.php on line 2533
-
nginx-unit we will update with php 8.0, when ready to php 8.1 final we will do the same
[php-unit] Update nginx unit to 1.27 and php 8.1 #7387
But with errors:
https://tfb-status.techempower.com/unzip/results.2022-08-21-11-27-27-592.zip/results/20220816103420/php-unit/run/php-unit.log -
fuel Fail without any error
-
slim
PHP Fatal error: Uncaught TypeError: Slim\App::__construct(): Argument #1 ($responseFactory) must be of type Psr\Http\Message\ResponseFactoryInterface, array given, called in /slim/index.php on line 7 and defined in /slim/vendor/slim/slim/Slim/App.php:61
To work with PHP 8.1 is necessary update the code to v4 Fix PHP 8.1 incompatibilities slimphp/Slim#3186 -
phpixie
PHP Fatal error: During inheritance of Iterator: Uncaught ErrorException: Return type of PHPixie\DB\Result::current() should either be compatible with Iterator::current(): mixed, or ...
-
amp OK but with errors in fortunes
cluster-9.ERROR: STDERR from PID 17: PHP Warning: Uninitialized string offset 71 in /amp/vendor/amphp/mysql/src/Internal/Processor.php on line 1126 amp: PHP Warning: Undefined array key 2 in /amp/vendor/amphp/mysql/src/Internal/Processor.php on line 1130
https://github.com/TechEmpower/FrameworkBenchmarks/runs/4165554696?check_suite_focus=true#step:9:525 -
swoole and now use JIT, OK with mysql but with deprecated errors
https://github.com/TechEmpower/FrameworkBenchmarks/runs/4172706407?check_suite_focus=true#step:9:729
https://github.com/TechEmpower/FrameworkBenchmarks/runs/4172706407?check_suite_focus=true#step:9:804
Fail to compile with pgsql (updated to v4.8.0)
I will wait a little more to update the frameworks using swoole.
Bugs
preg_match()
andpreg_match_all()
fail with:Compilation failed: unrecognised compile-time option bit(s) at offset 0
. Possibly by did't update PCRE lib.
Fixed usingapt upgrade
or includephp8.1-dev
.
Need to update
- Phalcon
still not work with php 8.0[php] Phalcon5 and PHP8.1 #7615 - Slim4 (v3 work til php8.0) [php] Slim to v4, php8.1 and adapterman #7660
- Codeigniter to v4 (but v3 work with php 8.1) [php] Update Codeigniter to v 4 #7686
- Zend to Laminas
New PHP platforms/servers
- Adapterman in various PRs
- Caddy server [php] Add Caddy server #7689
- FrankenPHP [php] Add Frankenphp platform #7748 (php 8.2)