The ParserCache serialization was changed from PHP to JSON, but support for turning back to PHP was left, but deprecated. In 1.37 we can drop the support for $wgParserCacheUseJson.
Ref T263579: Change ParserCache serialization format to JSON.
Ref T161647: RFC: Deprecate using php serialization inside MediaWiki.