To ensure compatibility of PHP code with PHP 8.x
There's some breaking changes in 8.1 and 8.2.
To ensure compatibility of PHP code with PHP 8.x
There's some breaking changes in 8.1 and 8.2.
Looking at the mentioned question, it seems a NULL pointer arrives as first argument in phutil_encode_log(). Fortunately that function is used by only 3 places:
Second issue got already fixed by rPa7fb04f96c92d4ff57ac8c01213e6dd73a03f5d6 which wasn't linked to this ticket
@jeanguyomarch: If you could provide stacktraces of these issues, that would be awesome.
First part is D25483
On it, thank you!
My friend, I think you are affected by this change, and this applies to whatever PHP version
I'm on the latest pull, commit f81e821abf2b275d1778d02a018a4d0af7208be8.
A bit off topic here :) but I'll quickly sum up the issue I'm having (and am in the middle of trying things to fix):
Oh, totally possible that I forgot to update it :)
I'll take your word on it that it's supported, though the current installation guide says otherwise.
Further, I had a few roadbumps on a fresh install to a new server with PHP 8, that I suspect may relate to strlen(NULL) behavior, but I did need to set up PHP 7 to make sure that was or wasn't the case.
(I'm in the process of reproducing those and working out a possible cause or trace. Some manifested as warning banners, one as a 502 on my end in the GitHub auth provider.)
We already support PHP 8...