3v4l.org

run code in 300+ PHP versions simultaneously
<?hh $m = Map{0=>1}; echo json_decode(json_encode($m));

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.3.60.0170.00318.18
8.3.50.0090.00922.75
8.3.40.0100.00718.54
8.3.30.0110.00418.84
8.3.20.0030.00520.26
8.3.10.0040.00423.39
8.3.00.0060.00317.46
8.2.180.0100.01016.32
8.2.170.0120.00622.96
8.2.160.0140.00320.39
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0050.00321.10
8.2.110.0030.00620.56
8.2.100.0040.00817.65
8.2.90.0000.00818.22
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0000.00819.75
8.2.30.0000.00717.91
8.2.20.0040.00417.49
8.2.10.0000.00717.84
8.2.00.0040.00417.41
8.1.280.0130.00725.92
8.1.270.0080.00023.57
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.05
8.1.230.0130.00020.88
8.1.220.0040.00417.74
8.1.210.0000.00818.90
8.1.200.0040.00417.10
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0050.00318.50
8.1.160.0020.00521.91
8.1.150.0060.00318.70
8.1.140.0050.00217.30
8.1.130.0000.00717.66
8.1.120.0000.00717.23
8.1.110.0030.00517.20
8.1.100.0020.00517.38
8.1.90.0000.00717.30
8.1.80.0000.00717.21
8.1.70.0030.00317.18
8.1.60.0030.00517.34
8.1.50.0030.00617.38
8.1.40.0080.00017.26
8.1.30.0030.00517.48
8.1.20.0070.00017.41
8.1.10.0040.00417.38
8.1.00.0040.00417.27
8.0.300.0030.00320.14
8.0.290.0040.00416.63
8.0.280.0050.00218.30
8.0.270.0080.00016.73
8.0.260.0030.00317.16
8.0.250.0000.00616.82
8.0.240.0030.00516.79
8.0.230.0040.00416.80
8.0.220.0060.00016.66
8.0.210.0030.00316.74
8.0.200.0000.00716.84
8.0.190.0050.00216.79
8.0.180.0030.00616.82
8.0.170.0030.00516.77
8.0.160.0000.00716.85
8.0.150.0040.00416.71
8.0.140.0000.01016.74
8.0.130.0030.00313.41
8.0.120.0070.00016.64
8.0.110.0040.00416.79
8.0.100.0000.00816.70
8.0.90.0000.00716.57
8.0.80.0050.01016.80
8.0.70.0040.00416.86
8.0.60.0000.00716.74
8.0.50.0040.00416.71
8.0.30.0060.01217.01
8.0.20.0110.01117.40
8.0.10.0030.00516.94
8.0.00.0090.00816.61
7.4.330.0050.00015.12
7.4.320.0070.00016.36
7.4.300.0040.00416.38
7.4.290.0000.00716.46
7.4.280.0020.00516.48
7.4.270.0040.00416.38
7.4.260.0040.00416.36
7.4.250.0030.00316.46
7.4.240.0030.00316.41
7.4.230.0070.00016.40
7.4.220.0060.01216.39
7.4.210.0120.00616.26
7.4.200.0000.00716.26
7.4.160.0130.00316.54
7.4.150.0140.01017.40
7.4.140.0150.01017.86
7.4.130.0070.01116.33
7.4.120.0130.00516.29
7.4.110.0100.00616.47
7.4.100.0070.01016.16
7.4.90.0180.01716.34
7.4.80.0120.00619.39
7.4.70.0120.00916.46
7.4.60.0120.00316.30
7.4.50.0030.00316.29
7.4.40.0040.01816.40
7.4.30.0030.01316.49
7.3.330.0020.00213.10
7.3.320.0060.00012.96
7.3.310.0030.00316.13
7.3.300.0000.00616.08
7.3.290.0030.01616.07
7.3.280.0070.00816.13
7.3.270.0100.01317.40
7.3.260.0060.01016.14
7.3.250.0120.00516.20
7.3.240.0160.00016.09
7.3.230.0030.01316.39
7.3.210.0070.01016.23
7.3.200.0140.00719.39
7.3.190.0150.00616.08
7.3.180.0080.00816.27
7.3.170.0070.01316.27
7.3.160.0180.00616.31
7.2.330.0030.01616.26
7.2.320.0170.00016.52
7.2.310.0130.00916.33
7.2.300.0040.01316.55
7.2.290.0080.00816.47
5.4.320.4530.04318.93
5.4.310.4230.05019.15
5.4.300.3900.03318.90
5.4.290.4070.04719.27
5.4.280.3600.03719.06
5.4.270.4030.04019.23
5.4.260.3730.03318.94
5.4.250.4000.03719.14
5.4.240.4030.04019.10
5.4.230.3900.03719.05
5.4.220.3670.04318.93
5.4.210.2930.03719.15
5.4.200.1930.04319.14
5.4.190.2870.03319.10
5.4.180.3230.03719.14
5.4.170.2670.03719.04
5.4.160.3130.03718.92
5.4.150.2730.03319.00
5.4.140.2570.02716.38
5.4.130.3000.03316.45
5.4.120.2930.03716.25
5.4.110.0030.05016.35
5.4.100.3530.04016.45
5.4.90.3700.02316.35
5.4.80.3730.03016.32
5.4.70.3100.04316.45
5.4.60.3930.03716.20
5.4.50.3630.04016.55
5.4.40.3770.03316.46
5.4.30.3870.04016.45
5.4.20.3130.03016.44
5.4.10.3970.03316.53
5.4.00.3670.03715.83

preferences:
39 ms | 401 KiB | 5 Q