3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '[{"ID":1}]'; $json = json_decode($str); echo $json[0]->ID;

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.5.00.0160.00619.98
8.4.150.0020.00114.05
8.4.140.0120.00917.58
8.4.130.0070.00317.91
8.4.120.0100.01020.37
8.4.110.0110.01022.38
8.4.100.0110.01017.81
8.4.90.0090.00118.58
8.4.80.0100.00917.82
8.4.70.0070.00918.20
8.4.60.0120.00920.65
8.4.50.0080.01122.32
8.4.40.0160.00317.50
8.4.30.0100.01019.03
8.4.20.0060.01319.38
8.4.10.0040.00419.35
8.3.280.0100.01220.27
8.3.270.0090.01016.36
8.3.260.0130.00616.70
8.3.250.0110.00518.97
8.3.240.0080.00416.45
8.3.230.0070.01116.56
8.3.220.0120.00617.06
8.3.210.0120.00818.29
8.3.200.0090.01016.55
8.3.190.0110.00918.65
8.3.180.0150.00516.49
8.3.170.0070.00718.97
8.3.160.0070.01118.30
8.3.150.0150.00618.34
8.3.140.0070.01116.48
8.3.130.0050.00316.29
8.3.120.0120.00620.62
8.3.110.0040.00420.94
8.3.100.0080.01216.53
8.3.90.0080.00026.77
8.3.80.0060.00318.56
8.3.70.0090.00616.63
8.3.60.0140.00418.18
8.3.50.0140.00718.40
8.3.40.0070.01422.00
8.3.30.0070.00718.67
8.3.20.0030.00624.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0150.00620.66
8.2.280.0080.01118.39
8.2.270.0060.01317.04
8.2.260.0150.00419.93
8.2.250.0000.00816.79
8.2.240.0070.01116.96
8.2.230.0040.00422.58
8.2.220.0090.00024.06
8.2.210.0090.00026.77
8.2.200.0090.00318.29
8.2.190.0210.00016.58
8.2.180.0110.00716.38
8.2.170.0000.01518.84
8.2.160.0100.00322.96
8.2.150.0050.00225.66
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0000.00721.04
8.2.110.0110.01122.25
8.2.100.0120.00620.93
8.2.90.0270.00718.83
8.2.80.0280.00718.67
8.2.70.0290.00318.89
8.2.60.0180.01118.95
8.2.50.0180.00320.03
8.2.40.0160.00818.86
8.2.30.0090.00618.68
8.2.20.0190.00818.78
8.2.10.0240.00719.06
8.2.00.0180.00418.82
8.1.330.0110.00721.98
8.1.320.0100.00916.07
8.1.310.0040.00416.76
8.1.300.0090.00917.75
8.1.290.0040.00430.84
8.1.280.0070.01325.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0200.00718.44
8.1.230.0180.00318.48
8.1.220.0080.00618.52
8.1.210.0200.00319.80
8.1.200.0170.00318.25
8.1.190.0210.00418.32
8.1.180.0090.00518.30
8.1.170.0100.00318.43
8.1.160.0170.01018.45
8.1.150.0120.00020.61
8.1.140.0130.00018.41
8.1.130.0170.01318.31
8.1.120.0170.00718.60
8.1.110.0140.00618.38
8.1.100.0130.01318.39
8.1.90.0150.00618.44
8.1.80.0100.00318.40
8.1.70.0110.00318.83
8.1.60.0060.00918.75
8.1.50.0160.00018.58
8.1.40.0120.00218.69
8.1.30.0040.00818.88
8.1.20.0090.00618.60
8.1.10.0090.00318.70
8.1.00.0090.00318.73
8.0.300.0150.00017.80
8.0.290.0150.00017.99
8.0.280.0100.00317.90
8.0.270.0090.00617.90
8.0.260.0110.00018.38
8.0.250.0070.00717.88
8.0.240.0130.00017.89
8.0.230.0120.00018.31
8.0.220.0070.00717.80
8.0.210.0090.00617.69
8.0.200.0140.00317.84
8.0.190.0030.00918.17
8.0.180.0110.00317.74
8.0.170.0150.00017.71
8.0.160.0110.00417.94
8.0.150.0120.00317.75
8.0.140.0090.00617.46
8.0.130.0040.00817.93
8.0.120.0070.00717.75
8.0.110.0140.00017.86
8.0.100.0150.00017.61
8.0.90.0130.00517.64
8.0.80.0090.00617.75
8.0.70.0120.00317.61
8.0.60.0120.00018.04
8.0.50.0110.00417.88
8.0.30.0090.00318.30
8.0.20.0150.00017.99
8.0.10.0110.00418.05

preferences:
29.58 ms | 403 KiB | 5 Q