3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = <<<JSON { "date":"2021-03-23 07:35:44.011207", "timezone_type":3, "timezone":"Europe/Paris" } JSON; var_dump(json_decode($s));
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.26, 8.0.0 - 8.0.13, 8.1rc1 - rc3
object(stdClass)#1 (3) { ["date"]=> string(26) "2021-03-23 07:35:44.011207" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" }

preferences:
17.33 ms | 460 KiB | 5 Q