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 public function refreshData(); } class MyClass extends MyAbstract { public function refreshData() { print "am in 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.40.0070.00718.51
8.3.30.0190.00018.93
8.3.20.0000.00720.16
8.3.10.0000.00723.48
8.3.00.0080.00020.95
8.2.170.0090.00922.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0050.00326.16
8.2.120.0000.00822.14
8.2.110.0090.00320.99
8.2.100.0060.00617.66
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0040.00717.64
8.2.50.0080.00018.10
8.2.40.0080.00019.95
8.2.30.0050.00318.06
8.2.20.0040.00417.70
8.2.10.0070.00018.05
8.2.00.0070.00017.55
8.1.270.0030.00522.23
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00921.16
8.1.230.0050.00517.58
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0000.00817.22
8.1.180.0000.00918.10
8.1.170.0060.00318.66
8.1.160.0030.00521.94
8.1.150.0050.00318.55
8.1.140.0000.00717.44
8.1.130.0000.00717.77
8.1.120.0030.00317.39
8.1.110.0050.00517.44
8.1.100.0000.00717.27
8.1.90.0000.00717.38
8.1.80.0030.00617.39
8.1.70.0000.00817.32
8.1.60.0080.00017.40
8.1.50.0030.00617.45
8.1.40.0060.00317.45
8.1.30.0080.00017.48
8.1.20.0070.00017.60
8.1.10.0050.00317.26
8.1.00.0070.00017.22
8.0.300.0060.00318.77
8.0.290.0080.00016.63
8.0.280.0030.00318.30
8.0.270.0000.00717.10
8.0.260.0000.00617.19
8.0.250.0030.00316.89
8.0.240.0000.00716.88
8.0.230.0030.00316.77
8.0.220.0070.00016.82
8.0.210.0000.00816.85
8.0.200.0000.00616.89
8.0.190.0000.00716.79
8.0.180.0050.00216.85
8.0.170.0060.00316.89
8.0.160.0000.00816.78
8.0.150.0030.00516.72
8.0.140.0030.00516.81
8.0.130.0030.00313.21
8.0.120.0080.00016.72
8.0.110.0040.00416.69
8.0.100.0050.00316.93
8.0.90.0030.00516.72
8.0.80.0100.01116.84
8.0.70.0040.00416.65
8.0.60.0000.00716.72
8.0.50.0000.00716.84
8.0.30.0110.00716.93
8.0.20.0090.00917.40
8.0.10.0000.00916.84
8.0.00.0050.01316.63
7.4.330.0050.00015.00
7.4.320.0060.00016.54
7.4.300.0040.00416.45
7.4.290.0050.00316.55
7.4.280.0050.00316.35
7.4.270.0000.00716.49
7.4.260.0070.00016.37
7.4.250.0000.00716.39
7.4.240.0030.00316.52
7.4.230.0070.00016.63
7.4.220.0120.00616.56
7.4.210.0070.00916.55
7.4.200.0000.00816.43
7.4.190.0070.00016.50
7.4.160.0080.00816.52
7.4.150.0100.01017.40
7.4.140.0090.00917.86
7.4.130.0070.00916.34
7.4.120.0110.00616.47
7.4.110.0030.01516.36
7.4.100.0090.01216.31
7.4.90.0030.01416.19
7.4.80.0110.00919.39
7.4.70.0100.00716.23
7.4.60.0150.00016.27
7.4.50.0000.00916.13
7.4.40.0060.01016.34
7.4.30.0100.00716.30
7.4.00.0050.01214.97
7.3.330.0020.00213.06
7.3.320.0030.00313.18
7.3.310.0000.00716.05
7.3.300.0040.00416.18
7.3.290.0060.00916.24
7.3.280.0050.01116.21
7.3.270.0090.00617.40
7.3.260.0090.00816.45
7.3.250.0130.01016.54
7.3.240.0110.00616.56
7.3.230.0060.01116.39
7.3.210.0110.00616.29
7.3.200.0090.01219.39
7.3.190.0140.00416.59
7.3.180.0090.00616.60
7.3.170.0040.01216.41
7.3.160.0060.00916.19
7.3.120.0110.00514.62
7.3.110.0100.00714.59
7.3.100.0060.00914.27
7.3.90.0070.01114.53
7.3.80.0070.00714.64
7.3.70.0100.00714.57
7.3.60.0060.00914.64
7.3.50.0080.00414.55
7.3.40.0040.00814.77
7.3.30.0030.01014.68
7.3.20.0030.00716.50
7.3.10.0000.00916.42
7.3.00.0080.00816.54
7.2.330.0120.00616.39
7.2.320.0090.00916.49
7.2.310.0120.00616.52
7.2.300.0060.01216.48
7.2.290.0050.01016.64
7.2.250.0070.01315.07
7.2.240.0140.00415.06
7.2.230.0030.01614.80
7.2.220.0080.00814.58
7.2.210.0150.00415.07
7.2.200.0040.01214.84
7.2.190.0040.01414.57
7.2.180.0080.00814.74
7.2.170.0060.01014.77
7.1.330.0030.01015.66
7.1.320.0030.01315.72
7.1.310.0060.00915.83
7.1.300.0030.01315.65
7.1.290.0030.01015.58
7.1.280.0000.01515.63
7.1.270.0080.00815.72
7.1.260.0060.01015.62
7.1.100.0000.01117.98
7.1.70.0000.00717.15
7.1.60.0090.01519.46
7.1.50.0190.01316.66
7.1.00.0070.07322.31
7.0.200.0000.00916.68
7.0.140.0070.07021.95
7.0.60.0070.08019.94
7.0.50.0070.04017.85
7.0.40.0030.08720.36
7.0.30.0330.07020.23
7.0.20.0230.05320.12
7.0.10.0030.09720.33
7.0.00.0100.03720.23
5.6.280.0000.07720.89
5.6.210.0070.06020.61
5.6.200.0070.03718.12
5.6.190.0100.06720.49
5.6.180.0200.06720.47
5.6.170.0100.06720.44
5.6.160.0100.08020.51
5.6.150.0100.07318.18
5.6.140.0100.08018.14
5.6.130.0100.07718.21
5.6.120.0030.06020.98
5.6.110.0130.08021.13
5.6.100.0070.04721.14
5.6.90.0130.07321.10
5.6.80.0100.06020.37
5.5.350.4270.03720.44
5.5.340.0000.04018.10
5.5.330.0070.04020.35
5.5.320.0330.04320.34
5.5.310.0300.04020.39
5.5.300.0070.08318.03
5.5.290.0200.07017.96
5.5.280.0070.07720.87
5.5.270.0070.05320.77
5.5.260.0130.04320.76
5.5.250.0030.08320.57
5.5.240.0030.07720.16
5.4.450.0870.05719.27
5.4.440.0930.07719.49
5.4.430.0870.06019.51
5.4.420.0100.05019.44
5.4.410.0900.07019.50
5.4.400.0730.06718.99
5.4.390.0870.05319.10
5.4.380.0130.05318.57
5.4.370.0170.04718.76
5.4.360.0100.05318.81
5.4.350.0200.04718.68
5.4.340.0100.05718.58
5.4.320.0080.03712.50
5.4.310.0080.03912.49
5.4.300.0070.03612.50
5.4.290.0090.03912.49
5.4.280.0080.04012.39
5.4.270.0070.05112.39
5.4.260.0080.05712.39
5.4.250.0120.06012.39
5.4.240.0120.04712.39
5.4.230.0110.05312.39
5.4.220.0080.04512.39
5.4.210.0060.03912.39
5.4.200.0080.04412.39
5.4.190.0300.05212.38
5.4.180.0090.03712.38
5.4.170.0030.04212.39
5.4.160.0150.04612.39
5.4.150.0090.04412.38
5.4.140.0100.05212.07
5.4.130.0170.04912.06
5.4.120.0120.05612.02
5.4.110.0110.05912.01
5.4.100.0050.04912.01
5.4.90.0060.04512.01
5.4.80.0090.04212.01
5.4.70.0080.04012.01
5.4.60.0070.04012.01
5.4.50.0090.04112.01
5.4.40.0100.03612.00
5.4.30.0060.04311.99
5.4.20.0250.03511.99
5.4.10.0070.04012.00
5.4.00.0100.03911.48
5.3.290.0070.03912.80
5.3.280.0110.08812.71
5.3.270.0240.07712.73
5.3.260.0080.04812.72
5.3.250.0100.05912.72
5.3.240.0060.04012.72
5.3.230.0070.03812.71
5.3.220.0110.03712.68
5.3.210.0140.07212.68
5.3.200.0110.04912.68
5.3.190.0240.08612.67
5.3.180.0310.09612.67
5.3.170.0190.07212.66
5.3.160.0100.05212.68
5.3.150.0100.06112.67
5.3.140.0100.05512.66
5.3.130.0160.07712.66
5.3.120.0060.05912.66
5.3.110.0150.08012.66
5.3.100.0100.04712.12
5.3.90.0050.04112.10
5.3.80.0080.03712.10
5.3.70.0070.03612.11
5.3.60.0110.03512.08
5.3.50.0130.05412.03
5.3.40.0090.04712.03
5.3.30.0140.04711.98
5.3.20.0090.04711.76
5.3.10.0100.03811.73
5.3.00.0090.04311.73
5.2.170.0040.0349.23
5.2.160.0050.0329.22
5.2.150.0060.0329.22
5.2.140.0060.0319.22
5.2.130.0070.0319.18
5.2.120.0040.0339.18
5.2.110.0160.0249.19
5.2.100.0050.0309.18
5.2.90.0050.0349.18
5.2.80.0040.0359.18
5.2.70.0080.0309.18
5.2.60.0090.0379.13
5.2.50.0080.0449.10
5.2.40.0130.0739.08
5.2.30.0090.0389.05
5.2.20.0100.0409.04
5.2.10.0080.0518.95
5.2.00.0070.0408.81
5.1.60.0090.0238.10
5.1.50.0070.0288.10
5.1.40.0060.0358.07
5.1.30.0050.0448.42
5.1.20.0090.0288.44
5.1.10.0070.0348.17
5.1.00.0070.0678.17
5.0.50.0050.0316.64
5.0.40.0050.0276.50
5.0.30.0050.0346.32
5.0.20.0050.0206.28
5.0.10.0030.0236.26
5.0.00.0050.0316.26
4.4.90.0060.0164.78
4.4.80.0020.0174.76
4.4.70.0020.0214.76
4.4.60.0040.0204.75
4.4.50.0050.0194.77
4.4.40.0040.0324.71
4.4.30.0050.0194.76
4.4.20.0050.0224.85
4.4.10.0060.0284.85
4.4.00.0040.0344.76
4.3.110.0030.0214.67
4.3.100.0060.0234.66
4.3.90.0040.0184.63
4.3.80.0040.0264.58
4.3.70.0040.0154.63
4.3.60.0050.0154.63
4.3.50.0040.0194.62
4.3.40.0050.0264.54
4.3.30.0030.0193.28
4.3.20.0040.0183.26
4.3.10.0010.0233.22
4.3.00.0030.0307.56

preferences:
42.92 ms | 400 KiB | 5 Q