3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! error_reporting(-1); $a = array('str' => array()); @array_shift($a['str']);

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.0100.01016.88
8.3.50.0120.00818.16
8.3.40.0030.01218.77
8.3.30.0100.00718.67
8.3.20.0040.00418.76
8.3.10.0040.00420.66
8.3.00.0040.00419.25
8.2.180.0150.00016.38
8.2.170.0110.00422.96
8.2.160.0030.01318.96
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0070.00020.58
8.2.110.0030.00620.87
8.2.100.0080.00317.91
8.2.90.0100.00019.46
8.2.80.0040.00419.39
8.2.70.0000.00817.50
8.2.60.0040.00418.05
8.2.50.0000.01118.07
8.2.40.0080.00018.34
8.2.30.0020.00518.14
8.2.20.0060.00317.72
8.2.10.0040.00417.59
8.2.00.0090.00017.68
8.1.280.0100.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00722.65
8.1.230.0080.00321.05
8.1.220.0050.00317.79
8.1.210.0000.00819.03
8.1.200.0090.00017.25
8.1.190.0060.00317.40
8.1.180.0000.00918.10
8.1.170.0000.00718.90
8.1.160.0000.00718.89
8.1.150.0040.00418.70
8.1.140.0050.00317.43
8.1.130.0070.00017.81
8.1.120.0000.00717.41
8.1.110.0040.00417.34
8.1.100.0000.00817.32
8.1.90.0040.00417.30
8.1.80.0070.00017.43
8.1.70.0000.00817.44
8.1.60.0000.00817.45
8.1.50.0000.00717.50
8.1.40.0040.00417.49
8.1.30.0000.00817.47
8.1.20.0040.00417.57
8.1.10.0040.00417.40
8.1.00.0040.00417.44
8.0.300.0070.00019.98
8.0.290.0040.00416.62
8.0.280.0030.00318.31
8.0.270.0070.00017.25
8.0.260.0000.00616.80
8.0.250.0040.00416.89
8.0.240.0030.00316.84
8.0.230.0030.00316.93
8.0.220.0030.00316.89
8.0.210.0030.00316.88
8.0.200.0060.00016.94
8.0.190.0040.00416.96
8.0.180.0050.00216.88
8.0.170.0090.00016.86
8.0.160.0030.00316.89
8.0.150.0040.00416.84
8.0.140.0040.00416.73
8.0.130.0030.00313.30
8.0.120.0040.00416.83
8.0.110.0000.00716.79
8.0.100.0040.00416.83
8.0.90.0040.00416.90
8.0.80.0000.01516.87
8.0.70.0000.00716.77
8.0.60.0000.00716.78
8.0.50.0060.00316.91
8.0.30.0120.00417.21
8.0.20.0120.00617.10
8.0.10.0050.00216.85
8.0.00.0160.00516.66
7.4.330.0050.00012.98
7.4.320.0000.00616.54
7.4.300.0040.00416.47
7.4.290.0030.00316.56
7.4.280.0060.00316.57
7.4.270.0070.00016.52
7.4.260.0030.00313.21
7.4.250.0080.00016.63
7.4.240.0030.00316.49
7.4.230.0040.00416.43
7.4.220.0160.01016.54
7.4.210.0090.00616.62
7.4.200.0000.00716.47
7.4.190.0070.00016.55
7.4.160.0110.00616.68
7.4.150.0090.01416.59
7.4.140.0170.01016.54
7.4.130.0170.00016.36
7.4.120.0120.00616.43
7.4.110.0130.00316.50
7.4.100.0130.00316.51
7.4.90.0060.01216.42
7.4.80.0100.01019.39
7.4.70.0110.00816.65
7.4.60.0070.01016.39
7.4.50.0030.00316.29
7.4.40.0060.00616.29
7.4.30.0060.00916.41
7.4.00.0040.01114.97
7.3.330.0000.00613.07
7.3.320.0000.00613.06
7.3.310.0000.00716.13
7.3.300.0030.00316.17
7.3.290.0070.00616.27
7.3.280.0130.00516.17
7.3.270.0080.00816.05
7.3.260.0180.00716.24
7.3.250.0130.00516.54
7.3.240.0100.00716.34
7.3.230.0090.00916.40
7.3.210.0130.00616.09
7.3.200.0100.00716.37
7.3.190.0160.00616.26
7.3.180.0100.01316.37
7.3.170.0120.00316.41
7.3.160.0130.01016.39
7.3.120.0070.01114.57
7.2.330.0120.00616.50
7.2.320.0120.00616.38
7.2.310.0130.00716.50
7.2.300.0170.01116.48
7.2.290.0100.00716.38
7.2.00.0040.00419.21
7.1.70.0050.00217.10
7.1.60.0130.01019.31
7.1.50.0190.01134.59
7.1.00.0070.03022.27
7.0.200.0000.00916.58
7.0.140.0000.07722.04
7.0.120.0130.06722.04
7.0.60.0130.08319.98
7.0.50.0030.06317.81
7.0.40.0100.08720.09
7.0.30.0330.06720.30
7.0.20.0330.03720.13
7.0.10.0100.08320.17
7.0.00.0070.04019.99
5.6.280.0030.07321.06
5.6.210.0200.05720.46
5.6.200.0170.06018.18
5.6.190.0000.05020.56
5.6.180.0330.07320.61
5.6.170.0270.08020.43
5.6.160.0070.06020.48
5.6.150.0100.05318.19
5.6.140.0070.04718.20
5.6.130.0100.03718.21
5.6.120.0130.07721.12
5.6.110.0070.03721.12
5.6.100.0100.04721.00
5.6.90.0070.08320.98
5.6.80.0070.08320.36
5.5.350.0330.07320.32
5.5.340.0030.08717.94
5.5.330.0030.08320.23
5.5.320.0370.06320.16
5.5.310.0470.07320.32
5.5.300.0070.06717.97
5.5.290.0070.05717.91
5.5.280.0100.08020.79
5.5.270.0100.04720.78
5.5.260.0100.04320.63
5.5.250.0100.08020.57
5.5.240.0100.06020.28
5.4.450.1770.05019.41
5.4.440.1070.04019.54
5.4.430.0130.06319.45
5.4.420.0000.04319.57
5.4.410.0030.03718.99
5.4.400.1570.03318.93
5.4.390.1500.04319.13
5.4.380.1900.04019.22
5.4.370.1830.04719.06
5.4.360.1930.03719.06
5.4.350.1770.05318.77
5.4.340.1570.03719.13
5.4.320.1770.04718.89
5.4.310.1570.03319.13
5.4.300.1530.03718.91
5.4.290.1530.03719.09
5.4.280.1870.04718.80
5.4.270.1730.05318.88
5.4.260.1730.04719.10
5.4.250.1730.04319.15
5.4.240.1670.04319.13
5.4.230.1700.04319.16
5.4.220.1570.03718.77
5.4.210.1770.04319.09
5.4.200.1700.04019.24
5.4.190.1630.03319.09
5.4.180.1630.03318.77
5.4.170.1700.04319.23
5.4.160.1830.04318.89
5.4.150.1530.04019.11
5.4.140.1770.04316.21
5.4.130.1470.04016.32
5.4.120.1570.03316.30
5.4.110.1770.04016.07
5.4.100.1530.03716.27
5.4.90.1900.03716.23
5.4.80.1770.04316.48
5.4.70.1900.03716.20
5.4.60.1770.04016.45
5.4.50.1730.04716.38
5.4.40.1830.04316.38
5.4.30.1770.04016.39
5.4.20.1730.04316.39
5.4.10.1570.03716.38
5.4.00.1430.03315.71
5.3.290.1730.05014.68
5.3.280.2000.04714.43
5.3.270.1770.05014.45
5.3.260.1700.04314.54
5.3.250.1800.04314.46
5.3.240.1700.03714.48
5.3.230.1830.04714.54
5.3.220.1870.04014.39
5.3.210.1500.04314.41
5.3.200.1600.03314.40
5.3.190.1770.03014.51
5.3.180.1500.04014.57
5.3.170.1800.04314.46
5.3.160.1400.04014.65
5.3.150.1670.03714.41
5.3.140.1800.04714.42
5.3.130.1700.04714.39
5.3.120.1870.04714.48
5.3.110.1530.04014.38
5.3.100.1670.04013.88
5.3.90.1800.05313.89
5.3.80.1330.03713.81
5.3.70.1670.03014.00
5.3.60.1700.04014.05
5.3.50.1730.04013.76
5.3.40.1800.04713.90
5.3.30.1570.03313.68
5.3.20.1970.02313.64
5.3.10.1630.03013.59
5.3.00.1700.04713.47
5.2.170.1230.03311.00
5.2.160.1230.03011.05
5.2.150.1500.03311.30
5.2.140.1570.02710.99
5.2.130.1430.02011.26
5.2.120.1430.03311.04
5.2.110.1030.03011.26
5.2.100.1500.03711.04
5.2.90.1330.03310.94
5.2.80.1370.02710.94
5.2.70.1430.03011.03
5.2.60.1270.03010.90
5.2.50.1300.03310.88
5.2.40.1230.03310.93
5.2.30.1300.03310.90
5.2.20.1130.02310.86
5.2.10.1230.03310.77
5.2.00.1100.03010.70
5.1.60.1230.0309.88
5.1.50.1230.0339.89
5.1.40.1300.0209.95
5.1.30.1270.03010.33
5.1.20.1070.02310.25
5.1.10.1030.02710.29
5.1.00.1270.02310.15
5.0.50.0700.0308.46
5.0.40.0670.0338.38
5.0.30.0600.0408.11
5.0.20.0530.0278.35
5.0.10.0530.0178.05
5.0.00.0670.0478.08
4.4.90.0630.0207.68
4.4.80.0670.0237.68
4.4.70.0530.0237.68
4.4.60.0670.0277.68
4.4.50.0570.0177.68
4.4.40.0670.0377.68
4.4.30.0600.0237.68
4.4.20.0600.0137.68
4.4.10.0670.0207.68
4.4.00.0670.0307.68
4.3.110.0670.0277.68
4.3.100.0500.0137.68
4.3.90.0500.0137.68
4.3.80.0600.0337.68
4.3.70.0530.0137.68
4.3.60.0700.0207.68
4.3.50.0700.0277.68
4.3.40.0570.0277.68
4.3.30.0300.0277.68
4.3.20.0300.0207.68
4.3.10.0330.0237.68
4.3.00.0230.0277.68

preferences:
48.59 ms | 400 KiB | 5 Q