3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestClass { private $_events = []; public function __construct() { $this->_events[] = $this; } } while (1) $hotel = new TestClass();

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.70.0002.00420.52
8.3.60.0101.99420.65
8.3.50.0121.99222.96
8.3.40.0131.99021.46
8.3.30.0031.99921.66
8.3.20.0071.99322.94
8.3.10.0031.99925.73
8.3.00.0032.00121.46
8.2.180.0131.98719.61
8.2.170.0131.99022.96
8.2.160.0101.99223.41
8.2.150.0131.98724.18
8.2.140.0071.99524.66
8.2.130.0101.99326.16
8.2.120.0032.00024.27
8.2.110.0131.98923.30
8.2.100.0071.99620.72
8.2.90.0071.99621.22
8.2.80.0071.99520.50
8.2.70.0101.99420.63
8.2.60.0071.99520.68
8.2.50.0002.00220.63
8.2.40.0101.99221.22
8.2.30.0071.99120.89
8.2.20.0002.00120.58
8.2.10.0031.99921.03
8.2.00.0031.99720.54
8.1.280.0071.99625.92
8.1.270.0071.99427.98
8.1.260.0031.99926.35
8.1.250.0071.99628.09
8.1.240.0002.00326.64
8.1.230.0171.98325.33
8.1.220.0071.99522.14
8.1.210.0002.00323.45
8.1.200.0071.99221.73
8.1.190.0071.99721.73
8.1.180.0032.00022.04
8.1.170.0101.97723.08
8.1.160.0032.00026.59
8.1.150.0002.00623.27
8.1.140.0101.99121.92
8.1.130.0002.00322.36
8.1.120.0032.00122.01
8.1.110.0002.00321.76
8.1.100.0071.99721.97
8.1.90.0031.99821.86
8.1.80.0031.99921.92
8.1.70.0071.99721.84
8.1.60.0072.00122.12
8.1.50.0032.00021.90
8.1.40.0002.00322.04
8.1.30.0071.99622.13
8.1.20.0002.00322.13
8.1.10.0032.00021.93
8.1.00.0101.99121.99
8.0.300.0071.99424.39
8.0.290.0071.99721.00
8.0.280.0031.99922.54
8.0.270.0031.99821.48
8.0.260.0031.99622.63
8.0.250.0031.99821.21
8.0.240.0002.00221.28
8.0.230.0032.00021.21
8.0.220.0032.00121.10
8.0.210.0002.00321.10
8.0.200.0031.99821.17
8.0.190.0031.99921.14
8.0.180.0101.99521.09
8.0.170.0071.99621.11
8.0.160.0031.99821.16
8.0.150.0032.00021.13
8.0.140.0231.97421.17
8.0.130.0071.99617.75
8.0.120.0101.99421.20
8.0.110.0101.99121.11
8.0.100.0002.00421.01
8.0.90.0031.99821.11
8.0.80.0261.98321.11
8.0.70.0131.99221.14
8.0.60.0071.99621.21
8.0.50.0071.99521.14
8.0.30.0211.98221.16
8.0.20.0231.98721.26
8.0.10.0131.99121.10
8.0.00.0151.98920.85
7.4.330.0131.98717.57
7.4.320.0002.00220.64
7.4.300.0002.00320.79
7.4.290.0071.99720.83
7.4.280.0071.99620.57
7.4.270.0071.99720.71
7.4.260.0071.99620.80
7.4.250.0101.99220.77
7.4.240.0051.99820.78
7.4.230.0071.99820.71
7.4.220.0101.99020.69
7.4.210.0031.99720.68
7.4.200.0002.00420.91
7.4.160.0301.96420.95
7.4.150.0201.97720.73
7.4.140.0231.98920.75
7.4.130.0181.99220.70
7.4.120.0191.98020.69
7.4.110.0262.44220.63
7.4.100.0102.44620.57
7.4.90.0192.46020.79
7.4.80.0132.45220.77
7.4.70.0392.18720.71
7.4.60.0362.23620.61
7.4.50.0002.49820.75
7.4.40.0202.45220.94
7.4.30.0262.41920.92
7.4.00.0032.49219.23
7.3.330.0261.95417.56
7.3.320.0031.99817.58
7.3.310.0032.00120.69
7.3.300.0071.99920.60
7.3.290.0151.97620.57
7.3.280.0251.97520.56
7.3.270.0161.98220.88
7.3.260.0231.99420.53
7.3.250.0131.98220.54
7.3.240.0101.98820.81
7.3.230.0162.44420.80
7.3.210.0162.44720.59
7.3.200.0202.43520.69
7.3.190.0232.43220.70
7.3.180.0162.44120.69
7.3.170.0322.40220.79
7.3.160.0262.42120.47
7.2.330.0162.44821.05
7.2.320.0231.80121.16
7.2.310.0102.43821.21
7.2.300.0162.44621.45
7.2.290.0262.42321.19
7.2.00.0132.48623.61
7.1.100.1971.67220.90
7.1.70.0002.50121.07
7.1.60.0072.49421.56
7.1.50.0232.48039.25
7.1.00.0102.49026.72
7.0.200.0032.49821.09
7.0.140.0032.49726.30
7.0.60.0102.49024.82
7.0.50.0172.48322.63
7.0.40.0002.50020.17
7.0.30.0302.47020.25
7.0.20.0372.46320.28
7.0.10.0102.49020.27
7.0.00.0072.49320.19
5.6.280.0032.49726.35
5.6.210.0102.49026.05
5.6.200.0032.49323.46
5.6.190.0002.50025.49
5.6.180.0232.47725.64
5.6.170.0302.47025.68
5.6.160.0172.48325.44
5.6.150.0072.49323.41
5.6.140.0132.48723.50
5.6.130.0102.49023.52
5.6.120.0072.49326.28
5.6.110.0132.48726.29
5.6.100.0072.49326.37
5.6.90.0072.49326.41
5.6.80.0202.48025.82
5.6.70.4602.04025.79
5.5.350.0332.46725.78
5.5.340.0102.49023.08
5.5.330.0072.49325.47
5.5.320.0372.46325.48
5.5.310.0302.47025.54
5.5.300.0102.49023.25
5.5.290.4832.01323.22
5.5.280.0202.48026.26
5.5.270.0172.48326.16
5.5.260.0132.48726.04
5.5.250.0172.48325.75
5.5.240.0272.47325.35
5.4.450.0802.33724.53
5.4.440.0902.21324.70
5.4.430.0802.26024.83
5.4.420.0832.26324.67
5.4.410.0672.43024.70
5.4.400.1302.26024.32
5.4.390.0932.08324.18
5.4.380.1002.38024.36
5.4.370.1002.34324.46
5.4.360.0772.05324.59
5.4.350.0872.13024.05
5.4.340.0321.97317.29
5.4.320.0291.97817.78
5.4.310.0091.99217.78
5.4.300.0101.99217.78
5.4.290.0101.99317.77
5.4.280.0121.99117.67
5.4.270.0171.98417.67
5.4.260.0211.97817.67
5.4.250.0641.94917.67
5.4.240.0181.99017.67
5.4.230.0131.98717.66
5.4.220.0111.99217.66
5.4.210.0121.98917.66
5.4.200.0051.99717.66
5.4.190.0081.99517.66
5.4.180.0141.99017.66
5.4.170.0131.99117.67
5.4.160.0081.99517.66
5.4.150.0071.99417.66
5.4.140.0171.98517.34
5.4.130.0091.99317.33
5.4.120.0081.99417.32
5.4.110.0141.98917.29
5.4.100.0081.99717.29
5.4.90.0081.99317.29
5.4.80.0051.99717.29
5.4.70.0211.98017.28
5.4.60.0061.99817.28
5.4.50.0081.99617.32
5.4.40.0101.99117.31
5.4.30.0101.99517.27
5.4.20.0091.99117.27
5.4.10.0081.99317.27
5.4.00.0081.99216.76
5.3.290.0050.03912.80
5.3.280.0020.04112.71
5.3.270.0100.03512.72
5.3.260.0050.04312.72
5.3.250.0020.04012.71
5.3.240.0050.03912.72
5.3.230.0050.03712.71
5.3.220.0050.03712.68
5.3.210.0050.03912.68
5.3.200.0070.03512.68
5.3.190.0030.04012.68
5.3.180.0070.03712.68
5.3.170.0070.03512.67
5.3.160.0070.03512.67
5.3.150.0070.03512.68
5.3.140.0070.03612.66
5.3.130.0040.03912.66
5.3.120.0050.03812.66
5.3.110.0070.03712.65
5.3.100.0050.03712.12
5.3.90.0090.03212.10
5.3.80.0070.03512.09
5.3.70.0030.03812.09
5.3.60.0050.03512.07
5.3.50.0050.03612.02
5.3.40.0060.03512.02
5.3.30.0070.03311.98
5.3.20.0090.03111.76
5.3.10.0040.03511.73
5.3.00.0020.03911.71
5.2.170.0060.0289.21
5.2.160.0050.0299.21
5.2.150.0060.0299.21
5.2.140.0070.0299.21
5.2.130.0040.0299.17
5.2.120.0030.0309.17
5.2.110.0060.0279.18
5.2.100.0000.0339.18
5.2.90.0050.0299.17
5.2.80.0060.0289.17
5.2.70.0050.0299.17
5.2.60.0070.0279.13
5.2.50.0060.0279.10
5.2.40.0060.0269.07
5.2.30.0040.0299.04
5.2.20.0050.0279.03
5.2.10.0060.0258.94
5.2.00.0020.0328.80
5.1.60.0020.0258.09
5.1.50.0040.0248.09
5.1.40.0020.0288.07
5.1.30.0060.0268.41
5.1.20.0030.0278.44
5.1.10.0060.0238.16
5.1.00.0030.0268.16
5.0.50.0040.0206.64
5.0.40.0020.0216.50
5.0.30.0020.0326.31
5.0.20.0030.0206.27
5.0.10.0040.0196.25
5.0.00.0050.0286.25
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0040.0144.75
4.4.60.0020.0164.75
4.4.50.0060.0114.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0020.0174.85
4.4.00.0020.0254.76
4.3.110.0030.0154.66
4.3.100.0020.0164.66
4.3.90.0040.0184.63
4.3.80.0030.0234.59
4.3.70.0030.0144.63
4.3.60.0010.0164.63
4.3.50.0030.0154.63
4.3.40.0030.0234.54
4.3.30.0020.0153.30
4.3.20.0020.0163.28
4.3.10.0010.0163.24
4.3.00.0170.0237.07

preferences:
62.66 ms | 401 KiB | 5 Q