-
Notifications
You must be signed in to change notification settings - Fork 2k
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
PHP 8.1 update [info] #6894
Comments
Synfony fail in the last runs, with dependencies problem. @jderusse @kaznovac @raziel057 ... Could anyone fix it ? |
@joanhey for the symfony tests the log suggests that there is a problem with dependencies. offending deps are introduced in the e6b61ea maybe @jcheron can provide more insight (or just drop those two lines from the dockerfile and retest, the referred bug doctrine/dbal#4603 is closed now) also symofny should be updated to 5.4 lts (or maybe 6.0 - or even better test both lts and latest release), and entities should be refactored to reflect 'real-world' practices (use getters/setters) sorry I don't have a free slot to address this in the next month or so... |
@kaznovac |
Amazing work @joanhey! Love the simplicity of the AdapterMan :) Took a glance at your recipes - Symfony is moving towards https://github.com/symfony/runtime to 'abstract the php runtime' (on quite kludgy and hacky way... but in their defense they acknowledge this in https://github.com/php-runtime/runtime) away from the explicit application bootstrapping and Request handling. I, personally, find symfony/runtime too messy to be worth debugging in the runtime (no pun intended), but I'd still suggest you to by providing the AdapterMan as implementation for the symfony/runtime you could get the better visibility for your project and yourself. Best, |
Check #8579 |
PHP 8.1
As the
ppa:ondrej/php
include nowphp8.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#133webman
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 various
exit 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 using
apt upgrade
or includephp8.1-dev
.Need to update
still not work with php 8.0[php] Phalcon5 and PHP8.1 #7615New PHP platforms/servers
The text was updated successfully, but these errors were encountered: