3v4l.org

run code in 300+ PHP versions simultaneously
<?php function d($v) { $r = json_decode($v); var_dump($r); } d('{"foo":"bar"}'); d('{"foo":[1,2]}'); d('{"foo":[{"bar":"baz"}]}');

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.0040.00423.68
8.3.140.0040.00416.34
8.3.130.0040.01118.40
8.3.120.0060.00318.87
8.3.110.0040.01520.94
8.3.100.0060.00324.06
8.3.90.0000.00826.77
8.3.80.0000.01017.97
8.3.70.0040.01118.18
8.3.60.0120.00318.30
8.3.50.0110.00716.32
8.3.40.0100.00322.27
8.3.30.0100.00320.33
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0050.00326.16
8.2.260.0000.00819.01
8.2.250.0040.00416.85
8.2.240.0040.00416.91
8.2.230.0060.00322.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0090.00018.17
8.2.190.0070.00716.63
8.2.180.0090.00616.50
8.2.170.0030.01318.89
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00421.17
8.2.110.0060.00319.27
8.2.100.0080.00317.78
8.2.90.0090.00019.89
8.2.80.0050.00318.16
8.2.70.0120.00617.13
8.2.60.0110.00517.00
8.2.50.0120.00717.35
8.2.40.0130.00317.50
8.2.30.0080.01117.24
8.2.20.0030.00617.63
8.2.10.0100.00717.50
8.2.00.0160.00017.13
8.1.310.0030.00516.81
8.1.300.0120.00316.07
8.1.290.0090.00030.84
8.1.280.0100.01325.92
8.1.270.0030.00524.66
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00322.34
8.1.230.0000.01120.79
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0130.00417.13
8.1.190.0110.00617.13
8.1.180.0140.00417.09
8.1.170.0090.00716.85
8.1.160.0190.00016.84
8.1.150.0120.00417.00
8.1.140.0160.00317.13
8.1.130.0150.00217.13
8.1.120.0100.01016.99
8.1.110.0170.00017.00
8.1.100.0140.00317.11
8.1.90.0070.01017.13
8.1.80.0170.00017.00
8.1.70.0110.00417.38
8.1.60.0140.00517.38
8.1.50.0120.00617.25
8.1.40.0090.00917.13
8.1.30.0140.00517.25
8.1.20.0190.00017.22
8.1.10.0070.01317.00
8.1.00.0200.00017.13
8.0.300.0000.00719.85
8.0.290.0000.00716.58
8.0.280.0150.00216.58
8.0.270.0120.00616.63
8.0.260.0170.00016.58
8.0.250.0120.00416.58
8.0.240.0130.00416.58
8.0.230.0130.00516.58
8.0.220.0130.00416.58
8.0.210.0080.01116.63
8.0.200.0130.00416.58
8.0.190.0130.00416.58
8.0.180.0140.00416.58
8.0.170.0120.00616.58
8.0.160.0190.00416.58
8.0.150.0130.00416.58
8.0.140.0090.00916.58
8.0.130.0180.00016.58
8.0.120.0110.00716.58
8.0.110.0100.00516.58
8.0.100.0110.00516.63
8.0.90.0150.00016.58
8.0.80.0080.00816.58
8.0.70.0050.01016.58
8.0.60.0140.00316.58
8.0.50.0100.00616.58
8.0.30.0140.00416.58
8.0.20.0130.00316.58
8.0.10.0120.00316.74

preferences:
25.84 ms | 403 KiB | 5 Q