3v4l.org

run code in 300+ PHP versions simultaneously
<?php function d($v) { $r = json_decode($v); var_dump($r); } d('{ "items": [ { "title": "Foo Bar" }, { "title": "Bar Foo" } ], "content": { "title": "Super duper title", "_empty": false } }');

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.10.0060.00323.82
8.3.140.0110.00720.62
8.3.130.0050.00318.38
8.3.120.0060.00316.80
8.3.110.0030.00616.50
8.3.100.0060.00316.63
8.3.90.0080.00016.38
8.3.80.0050.00518.18
8.3.70.0140.00718.18
8.3.60.0110.00718.43
8.3.50.0090.00618.23
8.3.40.0070.00722.05
8.3.30.0100.00320.29
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0030.00518.67
8.2.250.0160.00316.67
8.2.240.0030.00517.14
8.2.230.0030.00620.94
8.2.220.0060.00324.06
8.2.210.0030.01326.77
8.2.200.0060.00318.29
8.2.190.0120.00316.58
8.2.180.0070.01416.38
8.2.170.0040.01118.96
8.2.160.0040.01122.96
8.2.150.0050.00225.66
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0070.00021.11
8.2.110.0080.00019.39
8.2.100.0050.00517.78
8.2.90.0060.00317.71
8.2.80.0030.00518.03
8.2.70.0100.00717.00
8.2.60.0120.00617.10
8.2.50.0110.00717.47
8.2.40.0140.00619.38
8.2.30.0130.00617.11
8.2.20.0130.00417.36
8.2.10.0100.00717.50
8.2.00.0060.01117.23
8.1.310.0040.00416.52
8.1.300.0060.00318.49
8.1.290.0030.00618.88
8.1.280.0090.00625.92
8.1.270.0050.00324.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0070.00323.78
8.1.230.0090.00320.82
8.1.220.0000.00817.74
8.1.210.0070.00518.77
8.1.200.0110.00617.25
8.1.190.0170.00316.75
8.1.180.0120.00616.88
8.1.170.0170.00016.75
8.1.160.0110.00516.98
8.1.150.0040.01317.13
8.1.140.0130.00517.13
8.1.130.0160.00017.11
8.1.120.0150.00416.97
8.1.110.0120.00617.00
8.1.100.0100.00817.13
8.1.90.0160.00017.38
8.1.80.0090.00916.88
8.1.70.0120.00617.13
8.1.60.0120.00617.23
8.1.50.0140.00617.38
8.1.40.0130.00417.23
8.1.30.0110.00817.38
8.1.20.0160.00317.13
8.1.10.0120.00817.00
8.1.00.0130.00517.25
8.0.300.0030.00319.95
8.0.290.0040.00416.63
8.0.280.0130.00316.58
8.0.270.0120.00616.58
8.0.260.0060.01216.63
8.0.250.0110.00616.58
8.0.240.0170.00016.58
8.0.230.0140.00416.63
8.0.220.0040.01416.58
8.0.210.0060.01316.58
8.0.200.0120.00616.58
8.0.190.0140.00416.58
8.0.180.0140.00416.63
8.0.170.0030.01316.58
8.0.160.0140.00416.58
8.0.150.0170.00016.58
8.0.140.0100.00516.58
8.0.130.0100.00816.58
8.0.120.0120.00616.75
8.0.110.0070.01116.58
8.0.100.0170.00216.58
8.0.90.0160.00016.58
8.0.80.0130.00316.58
8.0.70.0110.00416.58
8.0.60.0110.00816.58
8.0.50.0120.00616.58
8.0.30.0150.00016.58
8.0.20.0100.00716.58
8.0.10.0110.00616.58

preferences:
31.5 ms | 403 KiB | 5 Q