3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP // Example of PHP crashing with no errors... interface MyInterface { public function refreshData(); } abstract class MyAbstract implements MyInterface { abstract protected function refreshData(); } class MyClass extends MyAbstract { public function refreshData() { print "am in refreshData"; } } //-------------------------------------------- $mine = new MyClass(); $mine->refreshData();

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.50
8.3.50.0130.00722.05
8.3.40.0070.00718.85
8.3.30.0110.00318.91
8.3.20.0040.00420.04
8.3.10.0040.00423.67
8.3.00.0040.00420.68
8.2.180.0120.00618.30
8.2.170.0170.00022.96
8.2.160.0140.00020.45
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00422.08
8.2.110.0030.00622.08
8.2.100.0030.01017.78
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0030.00617.68
8.2.50.0050.00318.07
8.2.40.0030.00519.73
8.2.30.0040.00418.19
8.2.20.0040.00417.62
8.2.10.0070.00018.01
8.2.00.0000.00717.54
8.1.280.0100.00325.92
8.1.270.0040.00422.20
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.05
8.1.230.0070.00419.00
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0030.00617.35
8.1.190.0030.00517.10
8.1.180.0080.00018.10
8.1.170.0040.00418.35
8.1.160.0030.00521.91
8.1.150.0020.00518.57
8.1.140.0000.00717.39
8.1.130.0000.00717.77
8.1.120.0050.00317.40
8.1.110.0040.00417.34
8.1.100.0050.00217.40
8.1.90.0040.00317.32
8.1.80.0030.00517.25
8.1.70.0070.00017.33
8.1.60.0000.00817.42
8.1.50.0050.00317.37
8.1.40.0040.00417.49
8.1.30.0040.00417.48
8.1.20.0040.00417.64
8.1.10.0070.00017.29
8.1.00.0000.00717.24
8.0.300.0000.00718.77
8.0.290.0030.00316.93
8.0.280.0030.00318.38
8.0.270.0000.00717.04
8.0.260.0030.00318.43
8.0.250.0040.00416.92
8.0.240.0040.00416.99
8.0.230.0070.00017.00
8.0.220.0000.00716.91
8.0.210.0000.00716.79
8.0.200.0040.00416.91
8.0.190.0070.00016.94
8.0.180.0040.00416.98
8.0.170.0040.00416.86
8.0.160.0050.00316.93
8.0.150.0080.00016.90
8.0.140.0000.00716.86
8.0.130.0030.00313.41
8.0.120.0000.00816.69
8.0.110.0050.00316.93
8.0.100.0070.00016.95
8.0.90.0030.00516.92
8.0.80.0060.00916.80
8.0.70.0040.00416.76
8.0.60.0040.00416.97
8.0.50.0000.00716.85
8.0.30.0120.01016.97
8.0.20.0110.01117.40
8.0.10.0050.00216.88
8.0.00.0120.00616.73
7.4.330.0030.00315.00
7.4.320.0030.00316.35
7.4.300.0070.00316.35
7.4.290.0000.00716.53
7.4.280.0000.00916.45
7.4.270.0040.00416.45
7.4.260.0000.00716.33
7.4.250.0050.00316.33
7.4.240.0030.00316.43
7.4.230.0000.00716.64
7.4.220.0060.01116.52
7.4.210.0060.00816.54
7.4.200.0000.00716.33
7.4.190.0040.00416.62
7.4.160.0160.00016.44
7.4.150.0070.01117.40
7.4.140.0110.00717.86
7.4.130.0060.01116.40
7.4.120.0040.01316.39
7.4.110.0090.00916.51
7.4.100.0120.00616.50
7.4.90.0070.01116.38
7.4.80.0060.01219.39
7.4.70.0100.00716.47
7.4.60.0030.01916.34
7.4.50.0090.00016.50
7.4.40.0090.00916.39
7.4.30.0130.01016.56
7.4.00.0070.01014.63
7.3.330.0000.00513.21
7.3.320.0000.00612.98
7.3.310.0000.00716.19
7.3.300.0030.00316.27
7.3.290.0080.00616.25
7.3.280.0090.00916.23
7.3.270.0040.01417.40
7.3.260.0100.00716.32
7.3.250.0050.01816.43
7.3.240.0030.01316.26
7.3.230.0100.01016.39
7.3.210.0100.00716.35
7.3.200.0060.01219.39
7.3.190.0070.01316.41
7.3.180.0050.01116.37
7.3.170.0120.00316.27
7.3.160.0060.00916.41
7.3.120.0070.01014.65
7.2.330.0110.01316.48
7.2.320.0040.01316.52
7.2.310.0100.00716.56
7.2.300.0070.01116.28
7.2.290.0060.01016.39
7.2.60.0150.00616.82
7.2.00.0040.01119.43
7.1.200.0060.00615.48
7.1.100.0090.00317.61
7.1.70.0030.00716.71
7.1.60.0090.01619.46
7.1.50.0160.01316.74
7.1.00.0000.08022.40
7.0.200.0050.00216.82
7.0.140.0070.07021.96
7.0.60.0170.03019.84
7.0.50.0030.07317.88
7.0.40.0100.08320.13
7.0.30.0430.05720.07
7.0.20.0200.08320.06
7.0.10.0400.07020.08
7.0.00.0100.07320.12
5.6.280.0000.07721.11
5.6.210.0100.07020.65
5.6.200.0100.08018.16
5.6.190.0070.07020.47
5.6.180.3970.04320.48
5.6.170.0300.06020.66
5.6.160.0070.05320.46
5.6.150.0170.04018.22
5.6.140.0070.08018.28
5.6.130.0170.08018.28
5.6.120.0100.07021.02
5.6.110.0070.08721.14
5.6.100.0070.05721.04
5.6.90.0070.07721.00
5.6.80.0030.04720.38
5.5.350.0270.07720.46
5.5.340.0100.08017.98
5.5.330.0030.04020.19
5.5.320.0400.07720.24
5.5.310.0270.07320.25
5.5.300.0100.03317.98
5.5.290.0100.07718.03
5.5.280.0130.07020.80
5.5.270.0070.08720.68
5.5.260.0000.04320.89
5.5.250.0070.07720.78
5.5.240.0130.08320.26
5.4.450.0530.06019.18
5.4.440.0670.06019.68
5.4.430.0130.05719.18
5.4.420.0800.05019.68
5.4.410.1070.05019.04
5.4.400.0570.04719.09
5.4.390.0930.06019.27
5.4.380.0070.06318.61
5.4.370.0170.05018.56
5.4.360.0230.04318.79
5.4.350.0030.06318.51
5.4.340.0130.05318.78
5.4.320.0050.03812.50
5.4.310.0110.03612.49
5.4.300.0070.03612.50
5.4.290.0110.03512.50
5.4.280.0060.03712.39
5.4.270.0080.04012.39
5.4.260.0050.04612.39
5.4.250.0110.05912.39
5.4.240.0140.07212.39
5.4.230.0090.06812.38
5.4.220.0170.07712.39
5.4.210.0250.05412.39
5.4.200.0160.07912.38
5.4.190.0110.05112.38
5.4.180.0140.05012.39
5.4.170.0150.05112.40
5.4.160.0150.04812.39
5.4.150.0130.05012.39
5.4.140.0050.04112.07
5.4.130.0090.03612.06
5.4.120.0060.04312.02
5.4.110.0150.04012.01
5.4.100.0090.04012.02
5.4.90.0090.03912.01
5.4.80.0080.05812.02
5.4.70.0140.04812.01
5.4.60.0150.04612.01
5.4.50.0120.04512.00
5.4.40.0050.04712.00
5.4.30.0060.04111.99
5.4.20.0090.04011.99
5.4.10.0090.03611.99
5.4.00.0080.04811.48
5.3.290.0040.04112.80
5.3.280.0110.04612.71
5.3.270.0090.05612.73
5.3.260.0050.05912.71
5.3.250.0060.05012.72
5.3.240.0070.03812.72
5.3.230.0110.03712.71
5.3.220.0070.03912.68
5.3.210.0050.04412.68
5.3.200.0090.03712.68
5.3.190.0080.04012.68
5.3.180.0120.03612.68
5.3.170.0090.05012.67
5.3.160.0120.04112.68
5.3.150.0100.05212.68
5.3.140.0130.04312.66
5.3.130.0120.05412.66
5.3.120.0140.05212.66
5.3.110.0090.05412.66
5.3.100.0100.04712.12
5.3.90.0050.06212.11
5.3.80.0110.05212.10
5.3.70.0130.04412.10
5.3.60.0090.03512.09
5.3.50.0050.03812.03
5.3.40.0100.04012.03
5.3.30.0110.04711.98
5.3.20.0130.04111.77
5.3.10.0070.04711.74
5.3.00.0090.04511.73
5.2.170.0090.0389.23
5.2.160.0120.0339.23
5.2.150.0140.0349.23
5.2.140.0120.0479.22
5.2.130.0090.0419.18
5.2.120.0080.0459.18
5.2.110.0110.0399.20
5.2.100.0080.0429.19
5.2.90.0060.0429.18
5.2.80.0100.0429.18
5.2.70.0090.0439.18
5.2.60.0080.0489.13
5.2.50.0070.0409.11
5.2.40.0080.0309.08
5.2.30.0050.0349.05
5.2.20.0080.0309.04
5.2.10.0070.0318.95
5.2.00.0100.0338.81
5.1.60.0060.0248.10
5.1.50.0050.0308.09
5.1.40.0090.0388.07
5.1.30.0080.0368.42
5.1.20.0070.0358.44
5.1.10.0070.0278.17
5.1.00.0040.0308.17
5.0.50.0050.0206.64
5.0.40.0030.0216.51
5.0.30.0050.0326.32
5.0.20.0060.0186.29
5.0.10.0050.0216.27
5.0.00.0050.0336.26
4.4.90.0040.0234.78
4.4.80.0060.0204.76
4.4.70.0060.0194.75
4.4.60.0040.0214.75
4.4.50.0060.0224.77
4.4.40.0050.0314.71
4.4.30.0050.0154.76
4.4.20.0040.0164.84
4.4.10.0020.0184.85
4.4.00.0050.0254.76
4.3.110.0010.0194.66
4.3.100.0050.0154.66
4.3.90.0050.0134.63
4.3.80.0030.0274.59
4.3.70.0040.0154.63
4.3.60.0030.0164.63
4.3.50.0030.0164.63
4.3.40.0030.0264.53
4.3.30.0030.0173.28
4.3.20.0040.0153.26
4.3.10.0020.0163.22
4.3.00.0170.0137.23

preferences:
45.79 ms | 401 KiB | 5 Q