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"; } } //-------------------------------------------- if (class_exists('MyClass',true)) { $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.70.0070.00716.88
8.3.60.0070.01016.50
8.3.50.0090.00621.94
8.3.40.0040.01118.62
8.3.30.0070.00719.01
8.3.20.0050.00220.30
8.3.10.0040.00423.51
8.3.00.0070.00019.09
8.2.180.0110.00718.01
8.2.170.0070.00722.96
8.2.160.0000.01420.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.21
8.2.110.0090.00021.07
8.2.100.0090.00317.91
8.2.90.0040.00419.23
8.2.80.0000.00817.97
8.2.70.0090.00017.50
8.2.60.0070.00717.66
8.2.50.0080.00018.10
8.2.40.0030.00519.82
8.2.30.0040.00418.18
8.2.20.0040.00417.53
8.2.10.0040.00417.97
8.2.00.0040.00417.53
8.1.280.0060.01525.92
8.1.270.0040.00422.14
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0140.00421.19
8.1.230.0110.00017.64
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0000.01318.52
8.1.160.0000.00821.97
8.1.150.0000.00818.54
8.1.140.0040.00417.38
8.1.130.0000.00717.74
8.1.120.0030.00417.30
8.1.110.0110.00017.28
8.1.100.0040.00417.41
8.1.90.0000.00717.29
8.1.80.0000.00717.40
8.1.70.0040.00417.23
8.1.60.0000.00717.41
8.1.50.0080.00017.45
8.1.40.0080.00017.43
8.1.30.0000.00917.40
8.1.20.0000.00717.50
8.1.10.0000.00817.34
8.1.00.0040.00417.35
8.0.300.0030.00618.77
8.0.290.0000.00816.75
8.0.280.0040.00418.29
8.0.270.0030.00317.19
8.0.260.0030.00317.19
8.0.250.0020.00516.83
8.0.240.0000.00716.96
8.0.230.0070.00016.99
8.0.220.0040.00416.76
8.0.210.0040.00416.93
8.0.200.0000.00716.88
8.0.190.0040.00416.97
8.0.180.0000.00716.91
8.0.170.0030.00516.84
8.0.160.0040.00316.88
8.0.150.0040.00416.88
8.0.140.0030.00316.79
8.0.130.0030.00313.35
8.0.120.0030.00616.90
8.0.110.0080.00016.78
8.0.100.0040.00416.84
8.0.90.0040.00416.75
8.0.80.0090.00616.83
8.0.70.0070.00016.70
8.0.60.0000.00716.85
8.0.50.0040.00416.95
8.0.30.0120.00717.09
8.0.20.0140.00817.40
8.0.10.0040.00416.97
8.0.00.0140.00916.78
7.4.330.0030.00315.00
7.4.320.0030.00316.54
7.4.300.0040.00416.46
7.4.290.0070.00016.46
7.4.280.0070.00316.54
7.4.270.0030.00316.55
7.4.260.0070.00016.47
7.4.250.0050.00316.48
7.4.240.0020.00516.51
7.4.230.0070.00016.52
7.4.220.0150.00316.42
7.4.210.0080.00816.43
7.4.200.0080.00016.38
7.4.190.0000.00716.41
7.4.160.0170.00016.41
7.4.150.0070.01017.40
7.4.140.0140.00517.86
7.4.130.0120.00516.45
7.4.120.0090.00816.38
7.4.110.0120.00416.39
7.4.100.0130.00716.57
7.4.90.0090.00916.48
7.4.80.0060.01619.39
7.4.70.0060.01016.57
7.4.60.0080.00816.27
7.4.50.0040.00416.35
7.4.40.0150.00316.36
7.4.30.0100.00716.40
7.4.00.0110.00014.89
7.3.330.0000.00513.15
7.3.320.0000.00513.34
7.3.310.0040.00416.01
7.3.300.0030.00316.10
7.3.290.0050.01016.25
7.3.280.0120.00616.22
7.3.270.0070.01017.40
7.3.260.0180.00616.38
7.3.250.0130.00716.45
7.3.240.0120.00616.55
7.3.230.0060.01116.39
7.3.210.0150.00816.48
7.3.200.0110.01119.39
7.3.190.0070.01016.25
7.3.180.0100.01016.27
7.3.170.0120.00416.54
7.3.160.0000.01716.39
7.3.120.0040.01214.63
7.2.330.0140.00916.60
7.2.320.0070.01016.40
7.2.310.0110.00616.59
7.2.300.0070.01016.36
7.2.290.0060.01016.39
7.2.60.0070.00316.55
7.2.00.0070.00719.27
7.1.200.0030.01015.61
7.1.100.0030.01217.89
7.1.70.0070.00717.16
7.1.60.0030.00919.46
7.1.50.0120.01516.94
7.1.00.0030.07722.30
7.0.200.0050.00316.66
7.0.140.0000.07722.15
7.0.60.0100.04020.02
7.0.50.0130.07317.94
7.0.40.0070.07320.38
7.0.30.0130.05720.21
7.0.20.0170.04720.30
7.0.10.0070.06020.23
7.0.00.0030.06020.20
5.6.280.0030.07321.16
5.6.210.0100.08320.57
5.6.200.0030.06318.15
5.6.190.0130.06020.67
5.6.180.0130.04720.61
5.6.170.0430.07320.57
5.6.160.0200.06320.49
5.6.150.0030.03718.14
5.6.140.0070.03718.11
5.6.130.0070.04018.28
5.6.120.0100.03721.02
5.6.110.0100.08321.00
5.6.100.0100.05021.01
5.6.90.0100.09020.92
5.6.80.0070.08020.43
5.5.350.4300.03720.43
5.5.340.0030.04317.97
5.5.330.0030.05720.37
5.5.320.0230.05720.35
5.5.310.0400.06320.32
5.5.300.0070.06717.97
5.5.290.0070.06318.08
5.5.280.0070.08320.96
5.5.270.0070.07720.98
5.5.260.0030.08720.86
5.5.250.0070.08320.65
5.5.240.0070.06320.07
5.4.450.0930.06019.54
5.4.440.0900.05719.10
5.4.430.0930.05719.48
5.4.420.0830.04019.55
5.4.410.1130.04719.39
5.4.400.0870.05319.22
5.4.390.0970.06319.22
5.4.380.0100.05718.73
5.4.370.0170.05018.63
5.4.360.0170.05018.80
5.4.350.0030.06318.53
5.4.340.0200.04718.64
5.4.320.0080.03312.50
5.4.310.0050.04212.50
5.4.300.0060.03812.50
5.4.290.0130.08212.50
5.4.280.0120.06612.39
5.4.270.0180.08812.40
5.4.260.0150.07312.39
5.4.250.0240.10412.39
5.4.240.0090.08012.39
5.4.230.0260.09112.38
5.4.220.0410.07312.39
5.4.210.0260.09612.39
5.4.200.0140.06112.39
5.4.190.0130.08412.38
5.4.180.0070.05612.38
5.4.170.0150.11212.39
5.4.160.0110.05412.39
5.4.150.0250.09612.39
5.4.140.0280.11112.07
5.4.130.0240.09412.06
5.4.120.0200.11212.02
5.4.110.0190.09812.01
5.4.100.0230.06312.02
5.4.90.0210.12612.01
5.4.80.0250.12112.01
5.4.70.0180.08112.01
5.4.60.0150.07212.01
5.4.50.0150.07412.01
5.4.40.0340.07311.99
5.4.30.0180.07211.99
5.4.20.0300.07712.00
5.4.10.0190.07711.99
5.4.00.0170.09011.48
5.3.290.0060.03912.80
5.3.280.0210.06712.71
5.3.270.0110.08512.72
5.3.260.0200.09312.72
5.3.250.0230.11212.72
5.3.240.0280.08212.72
5.3.230.0140.07312.71
5.3.220.0600.13912.68
5.3.210.0310.09112.68
5.3.200.0350.09912.68
5.3.190.0380.06412.68
5.3.180.0340.11112.68
5.3.170.0360.16012.67
5.3.160.0140.08412.68
5.3.150.0090.06812.68
5.3.140.0160.09512.66
5.3.130.0150.06812.66
5.3.120.0220.07512.66
5.3.110.0310.08212.66
5.3.100.0200.07312.13
5.3.90.0360.12112.11
5.3.80.0140.08912.11
5.3.70.0170.09112.10
5.3.60.0170.06012.08
5.3.50.0160.05712.03
5.3.40.0160.07812.03
5.3.30.0170.08711.99
5.3.20.0180.07511.77
5.3.10.0200.06811.74
5.3.00.0150.07011.73
5.2.170.0100.0749.23
5.2.160.0100.0629.23
5.2.150.0080.0739.23
5.2.140.0190.0679.23
5.2.130.0080.0509.18
5.2.120.0110.0469.18
5.2.110.0110.0509.20
5.2.100.0160.0449.19
5.2.90.0090.0479.18
5.2.80.0250.0559.18
5.2.70.0230.0539.18
5.2.60.0070.0449.13
5.2.50.0080.0479.11
5.2.40.0110.0429.08
5.2.30.0150.0649.05
5.2.20.0130.0679.04
5.2.10.0200.0708.95
5.2.00.0140.0478.81
5.1.60.0100.0678.10
5.1.50.0090.0498.09
5.1.40.0070.0678.07
5.1.30.0090.0468.42
5.1.20.0050.0458.45
5.1.10.0070.0438.17
5.1.00.0090.0488.18
5.0.50.0060.0426.65
5.0.40.0070.0276.50
5.0.30.0130.0536.32
5.0.20.0090.0266.29
5.0.10.0080.0296.27
5.0.00.0130.0786.26
4.4.90.0030.0234.78
4.4.80.0030.0204.75
4.4.70.0060.0204.76
4.4.60.0060.0204.75
4.4.50.0120.0344.77
4.4.40.0120.0484.71
4.4.30.0080.0184.76
4.4.20.0090.0344.84
4.4.10.0200.0344.84
4.4.00.0130.0404.76
4.3.110.0070.0534.67
4.3.100.0120.0544.66
4.3.90.0060.0214.63
4.3.80.0070.0314.58
4.3.70.0050.0164.63
4.3.60.0020.0174.63
4.3.50.0030.0174.63
4.3.40.0030.0284.54
4.3.30.0040.0163.29
4.3.20.0020.0193.26
4.3.10.0180.0263.22
4.3.00.0200.0207.56

preferences:
64.22 ms | 401 KiB | 5 Q