3v4l.org

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

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.20.0060.01618.73
8.4.10.0160.00319.39
8.3.140.0160.00018.92
8.3.130.0030.00618.37
8.3.120.0090.00020.69
8.3.110.0060.00320.94
8.3.100.0070.00716.43
8.3.90.0050.00326.77
8.3.80.0040.00416.50
8.3.70.0110.00816.63
8.3.60.0220.00018.27
8.3.50.0060.00817.17
8.3.40.0040.01118.67
8.3.30.0120.00318.73
8.3.20.0030.00719.41
8.3.10.0070.00023.46
8.3.00.0080.00020.73
8.2.260.0040.00416.70
8.2.250.0050.00316.59
8.2.240.0000.00918.97
8.2.230.0030.00622.58
8.2.220.0000.00924.06
8.2.210.0030.00626.77
8.2.200.0030.00618.41
8.2.190.0070.01018.25
8.2.180.0110.00416.38
8.2.170.0070.01022.96
8.2.160.0100.00321.09
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00421.00
8.2.120.0070.00726.35
8.2.110.0030.00619.07
8.2.100.0090.00317.91
8.2.90.0040.00417.63
8.2.80.0070.00318.73
8.2.70.0000.00817.63
8.2.60.0050.00317.50
8.2.50.0040.00419.44
8.2.40.0000.00821.20
8.2.30.0050.00320.70
8.2.20.0040.00418.13
8.2.10.0080.00018.06
8.2.00.0000.00719.27
8.1.310.0000.00818.53
8.1.300.0080.00019.93
8.1.290.0060.00330.84
8.1.280.0000.01425.92
8.1.270.0040.00422.05
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0050.00522.80
8.1.230.0110.00022.81
8.1.220.0000.00818.68
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0050.00318.82
8.1.160.0040.00418.70
8.1.150.0000.00718.81
8.1.140.0040.00420.67
8.1.130.0080.00320.78
8.1.120.0000.00817.45
8.1.110.0000.00717.37
8.1.100.0060.00317.50
8.1.90.0000.00717.40
8.1.80.0040.00317.45
8.1.70.0000.00717.44
8.1.60.0040.00417.56
8.1.50.0050.00217.38
8.1.40.0050.00217.49
8.1.30.0080.00017.65
8.1.20.0030.00517.57
8.1.10.0050.00217.57
8.1.00.0040.00417.56
8.0.300.0030.00519.88
8.0.290.0050.00216.75
8.0.280.0000.00818.36
8.0.270.0030.00317.37
8.0.260.0000.00720.13
8.0.250.0060.00017.01
8.0.240.0000.00817.00
8.0.230.0080.00016.94
8.0.220.0000.00816.76
8.0.210.0050.00316.76
8.0.200.0060.00316.96
8.0.190.0040.00416.82
8.0.180.0000.00816.92
8.0.170.0000.00816.80
8.0.160.0000.00716.91
8.0.150.0040.00416.71
8.0.140.0030.00316.92
8.0.130.0000.00513.31
8.0.120.0070.00016.78
8.0.110.0040.00416.88
8.0.100.0050.00217.00
8.0.90.0000.00716.89
8.0.80.0070.00916.86
8.0.70.0050.00316.95
8.0.60.0050.00316.66
8.0.50.0000.00716.70
8.0.30.0070.01217.12
8.0.20.0110.00817.40
8.0.10.0000.00816.83
8.0.00.0110.00816.80
7.4.330.0000.00415.55
7.4.320.0030.00316.45
7.4.300.0000.00716.65
7.4.290.0030.00516.52
7.4.280.0000.00816.35
7.4.270.0000.00616.45
7.4.260.0070.00016.42
7.4.250.0070.00016.37
7.4.240.0040.00316.66
7.4.230.0000.00716.40
7.4.220.0000.00816.59
7.4.210.0030.01016.56
7.4.200.0030.00316.30
7.4.160.0070.00916.48
7.4.140.0150.00917.86
7.4.130.0080.01516.40
7.4.120.0110.00816.45
7.4.110.0040.01216.34
7.4.100.0080.01616.39
7.4.90.0110.00716.57
7.4.80.0120.00419.39
7.4.70.0070.01416.39
7.4.60.0100.01316.30
7.4.50.0030.01216.66
7.4.40.0150.00316.32
7.4.00.0050.01314.85
7.3.330.0020.00213.18
7.3.320.0060.00013.25
7.3.310.0030.00316.22
7.3.300.0030.00316.25
7.3.290.0070.00016.16
7.3.280.0110.00616.27
7.3.260.0180.00716.47
7.3.240.0090.01016.41
7.3.230.0110.00616.34
7.3.210.0130.00416.33
7.3.200.0060.01116.54
7.3.190.0030.01216.45
7.3.180.0070.00916.44
7.3.170.0080.00816.52
7.3.160.0100.01016.48
7.3.120.0060.01314.91
7.3.110.0030.01314.58
7.3.100.0030.01014.39
7.3.90.0040.01114.93
7.3.80.0080.00814.85
7.3.70.0030.01014.89
7.3.60.0040.00414.72
7.3.50.0030.01014.99
7.3.40.0090.00615.00
7.3.30.0100.00714.86
7.3.20.0000.01616.41
7.3.10.0070.00716.71
7.3.00.0120.00416.64
7.2.330.0090.00916.67
7.2.320.0030.01316.50
7.2.310.0110.00616.55
7.2.300.0100.00716.47
7.2.290.0130.00516.46
7.2.250.0060.01315.02
7.2.240.0060.01214.77
7.2.230.0120.00315.04
7.2.220.0030.00715.13
7.2.210.0070.00315.23
7.2.200.0060.00614.92
7.2.190.0070.00715.20
7.2.180.0030.00614.83
7.2.170.0060.00614.92
7.2.90.0510.00714.55
7.2.80.0930.00314.75
7.2.70.0120.00514.91
7.2.60.0100.01014.95
7.2.50.0470.00914.99
7.2.40.0140.00915.00
7.2.30.0970.00914.98
7.2.20.0110.01114.86
7.2.10.0110.01114.95
7.2.00.0150.00614.81
7.1.330.0000.01315.75
7.1.320.0040.00415.54
7.1.310.0040.00415.63
7.1.300.0040.00415.74
7.1.290.0060.00315.32
7.1.280.0040.01115.79
7.1.270.0030.01215.61
7.1.260.0150.00315.56
7.1.210.4260.00713.52
7.1.200.4440.00014.03
7.1.190.0110.01113.53
7.1.180.0000.01813.38
7.1.170.0080.01313.83
7.1.160.0240.00313.53
7.1.150.0160.00013.79
7.1.140.0130.00413.70
7.1.130.0100.01013.90
7.1.120.0100.01013.89
7.1.110.0180.00913.98
7.1.100.0100.00913.66
7.1.90.0080.01114.02
7.1.80.0100.00613.73
7.1.70.0150.00013.86
7.1.60.0160.02231.95
7.1.50.0220.01231.59
7.1.40.0540.00631.93
7.1.30.0290.01031.95
7.1.20.0600.01731.77
7.1.10.0590.00613.87
7.1.00.0070.01013.91

preferences:
43.39 ms | 403 KiB | 5 Q