Deprecated: Return type of A::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/B4G8u on line 6
Deprecated: Creation of dynamic property A::$foo is deprecated in /in/B4G8u on line 13
Deprecated: Creation of dynamic property A::$quuz is deprecated in /in/B4G8u on line 14
Deprecated: Creation of dynamic property A::$className is deprecated in /in/B4G8u on line 7
string(43) "{"foo":"bar","quuz":"quuz","className":"A"}"
Output for 8.1.0 - 8.1.28
Deprecated: Return type of A::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/B4G8u on line 6
string(43) "{"foo":"bar","quuz":"quuz","className":"A"}"