Following exception occurs when you try to save the page containing a math formula:
[a5e4963e2b67c0bb27dfbbaf] [no req] TypeError from line 69 of /data/codebase/w/extensions/Math/src/MathMathMLCli.php: array_key_exists(): Argument #2 ($array) must be of type array, stdClass given</p><p>Backtrace:</p><p>#0 /data/codebase/w/extensions/Math/src/MathMathMLCli.php(36): MathMathMLCli->initializeFromCliResponse()<br /> #1 /data/codebase/w/extensions/Math/src/MathHooks.php(354): MathMathMLCli::batchEvaluate()<br /> #2 /data/codebase/w/includes/HookContainer/HookContainer.php(329): MathHooks::onParserAfterTidy()<br /> #3 /data/codebase/w/includes/HookContainer/HookContainer.php(132): MediaWiki\HookContainer\HookContainer->callLegacyHook()<br /> #4 /data/codebase/w/includes/HookContainer/HookRunner.php(2895): MediaWiki\HookContainer\HookContainer->run()<br /> #5 /data/codebase/w/includes/parser/Parser.php(1693): MediaWiki\HookContainer\HookRunner->onParserAfterTidy()<br /> #6 /data/codebase/w/includes/parser/Parser.php(654): Parser->internalParseHalfParsed()<br /> #7 /data/codebase/w/includes/cache/MessageCache.php(1318): Parser->parse()<br />
Traced it to https://github.com/wikimedia/mediawiki-extensions-Math/blob/master/src/MathMathMLCli.php#L73, where stdClass is passed instead of array.
Since this is not a new change, i can only assume that it threw a warning in <PHP8, but in 8.0 it fatals.
Reproduced on 1.35.8 (ab62807), but bug exists in all branches