https://bugs.winehq.org/show_bug.cgi?id=57734
--- Comment #2 from vv221 accounts.winehq.org@vv221.fr --- Sorry for the confusion, the update I submitted was only fixing parts of the PHP 8 compatibility, not all of it. So by itself it was not enough for a full switch to PHP 8.
I should have a bit of free time in a couple days, I can use that to focus on fixing the remaining compatibility problems and ensure we can fully switch to PHP 8. Starting with the errors you reported here.