3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo['bar'] = 'dog'; print "{$foo["bar"]}";

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.0110.00418.56
8.3.50.0070.01016.47
8.3.40.0000.01518.83
8.3.30.0110.00418.88
8.3.20.0000.00719.33
8.3.10.0070.00023.61
8.3.00.0070.00420.76
8.2.180.0110.00416.59
8.2.170.0180.00422.96
8.2.160.0070.00721.20
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00921.14
8.2.110.0090.00022.26
8.2.100.0040.00817.91
8.2.90.0030.00617.91
8.2.80.0040.00417.97
8.2.70.0080.00018.03
8.2.60.0040.00418.09
8.2.50.0000.00918.10
8.2.40.0000.00819.36
8.2.30.0050.00220.75
8.2.20.0050.00318.11
8.2.10.0050.00218.00
8.2.00.0030.00319.39
8.1.280.0090.00625.92
8.1.270.0000.00722.24
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00022.55
8.1.230.0110.00020.89
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0040.00417.13
8.1.190.0090.00017.22
8.1.180.0030.00618.10
8.1.170.0030.00618.75
8.1.160.0000.00718.77
8.1.150.0040.00418.70
8.1.140.0040.00420.58
8.1.130.0030.00618.81
8.1.120.0070.00017.26
8.1.110.0000.00717.27
8.1.100.0030.00517.45
8.1.90.0050.00217.44
8.1.80.0000.00817.42
8.1.70.0040.00417.28
8.1.60.0040.00417.52
8.1.50.0030.00517.41
8.1.40.0030.00617.36
8.1.30.0050.00217.52
8.1.20.0000.00817.54
8.1.10.0040.00417.46
8.1.00.0000.00717.33
8.0.300.0100.00019.61
8.0.290.0000.00716.58
8.0.280.0000.00718.38
8.0.270.0030.00317.18
8.0.260.0000.00620.09
8.0.250.0060.00016.86
8.0.240.0000.00816.89
8.0.230.0030.00516.79
8.0.220.0070.00016.74
8.0.210.0030.00316.78
8.0.200.0090.00016.88
8.0.190.0040.00416.71
8.0.180.0050.00316.82
8.0.170.0040.00416.66
8.0.160.0000.00716.66
8.0.150.0040.00416.61
8.0.140.0030.00316.69
8.0.130.0000.00613.25
8.0.120.0020.00516.73
8.0.110.0070.00016.57
8.0.100.0070.00016.66
8.0.90.0040.00416.71
8.0.80.0080.00816.78
8.0.70.0000.00816.67
8.0.60.0040.00416.67
8.0.50.0080.00016.82
8.0.30.0080.00917.05
8.0.20.0140.00517.40
8.0.10.0040.00416.78
8.0.00.0150.00716.80
7.4.330.0000.00415.55
7.4.320.0000.00616.51
7.4.300.0000.00616.50
7.4.290.0040.00416.50
7.4.280.0050.00316.50
7.4.270.0070.00016.50
7.4.260.0000.00616.38
7.4.250.0070.00016.60
7.4.240.0050.00216.49
7.4.230.0000.00716.44
7.4.220.0000.00716.63
7.4.210.0070.00716.54
7.4.200.0030.00316.63
7.4.140.0120.00717.86
7.4.130.0150.00916.50
7.4.120.0090.01016.46
7.4.110.0030.01316.58
7.4.100.0100.00716.48
7.4.90.0120.00616.64
7.4.80.0060.01719.39
7.4.70.0200.00016.59
7.4.60.0090.01216.39
7.4.50.0070.01016.35
7.4.40.0110.00816.36
7.4.00.0090.00914.88
7.3.330.0000.00512.93
7.3.320.0030.00313.09
7.3.310.0030.00516.35
7.3.300.0000.00716.28
7.3.290.0040.00416.17
7.3.280.0070.01116.26
7.3.260.0110.00616.44
7.3.240.0110.00916.46
7.3.230.0100.01016.27
7.3.210.0140.00316.49
7.3.200.0040.01416.25
7.3.190.0070.01716.20
7.3.180.0120.00316.25
7.3.170.0100.00716.32
7.3.160.0060.00916.63
7.2.330.0140.01016.47
7.2.320.0130.00316.69
7.2.310.0100.00616.48
7.2.300.0130.00316.63
7.2.290.0140.00716.64
7.2.90.1470.01314.63
7.2.80.1150.01414.66
7.2.70.1120.01315.07
7.2.60.1540.00314.82
7.2.50.1160.00715.09
7.2.40.1300.01014.75
7.2.30.1270.00314.83
7.2.20.1180.00314.86
7.2.10.1120.01015.04
7.2.00.0950.00715.20
7.1.210.0080.01013.70
7.1.200.1310.00013.99
7.1.190.1840.01013.73
7.1.180.1060.01013.64
7.1.170.1050.01013.93
7.1.160.1300.00713.60
7.1.150.1540.00313.81
7.1.140.1090.01313.75
7.1.130.1050.00313.72
7.1.120.1970.00314.09
7.1.110.1110.00014.13
7.1.100.1170.00013.61
7.1.90.0110.00713.73
7.1.80.0100.00813.92
7.1.70.0120.00413.93
7.1.60.0370.00731.68
7.1.50.0290.01131.77
7.1.40.0340.00031.73
7.1.30.0730.00331.81
7.1.20.0260.00931.80
7.1.10.1960.00713.99
7.1.00.0080.00413.82

preferences:
54.64 ms | 400 KiB | 5 Q