3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function A () { echo "I'm A"; } } class B extends A { function __construct() { parent::__constrUct(); } } $b = new B;

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.4.20.0080.01217.54
8.4.10.0060.00317.83
8.3.140.0040.01516.56
8.3.130.0040.01118.56
8.3.120.0090.00019.10
8.3.110.0070.01416.70
8.3.100.0000.00816.77
8.3.90.0120.00616.61
8.3.80.0070.00318.30
8.3.70.0110.01118.43
8.3.60.0130.00318.43
8.3.50.0150.00921.98
8.3.40.0030.01418.96
8.3.30.0040.01119.04
8.3.20.0000.00720.21
8.3.10.0080.00020.39
8.3.00.0080.00019.50
8.2.260.0110.00718.59
8.2.250.0060.00318.38
8.2.240.0040.00417.09
8.2.230.0000.00820.94
8.2.220.0050.00337.54
8.2.210.0060.01326.77
8.2.200.0090.00018.29
8.2.190.0120.00316.63
8.2.180.0090.00618.29
8.2.170.0070.00722.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.64
8.2.110.0080.00019.19
8.2.100.0110.00017.78
8.2.90.0040.00419.53
8.2.80.0000.00819.36
8.2.70.0030.00617.63
8.2.60.0070.00017.92
8.2.50.0000.00818.07
8.2.40.0030.00619.82
8.2.30.0000.00717.93
8.2.20.0060.00317.77
8.2.10.0040.00417.98
8.2.00.0000.00717.70
8.1.310.0110.00816.38
8.1.300.0160.00320.05
8.1.290.0040.00418.88
8.1.280.0030.01025.92
8.1.270.0060.00320.61
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00322.14
8.1.230.0070.00320.99
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0060.00318.38
8.1.160.0030.00518.77
8.1.150.0040.00418.66
8.1.140.0000.00717.31
8.1.130.0030.00317.64
8.1.120.0070.00417.38
8.1.110.0060.00217.24
8.1.100.0050.00217.26
8.1.90.0050.00317.16
8.1.80.0040.00417.21
8.1.70.0030.00317.18
8.1.60.0000.00817.52
8.1.50.0030.00517.43
8.1.40.0040.00417.39
8.1.30.0080.00017.47
8.1.20.0050.00317.54
8.1.10.0000.00817.50
8.1.00.0000.01017.27
8.0.300.0000.00920.11
8.0.290.0000.00816.75
8.0.280.0030.00318.37
8.0.270.0040.00417.18
8.0.260.0030.00317.20
8.0.250.0000.00716.94
8.0.240.0030.00316.97
8.0.230.0000.00717.00
8.0.220.0080.00016.78
8.0.210.0000.00716.83
8.0.200.0040.00416.91
8.0.190.0040.00416.91
8.0.180.0030.00616.96
8.0.170.0060.00316.82
8.0.160.0070.00016.87
8.0.150.0030.00316.86
8.0.140.0040.00316.74
8.0.130.0030.00313.25
8.0.120.0080.00016.90
8.0.110.0040.00416.71
8.0.100.0040.00416.83
8.0.90.0080.00016.76
8.0.80.0060.00916.84
8.0.70.0000.00716.95
8.0.60.0040.00416.75
8.0.50.0000.00716.92
8.0.30.0120.01017.02
8.0.20.0100.01017.40
8.0.10.0000.00716.75
8.0.00.0080.00916.52
7.4.330.0030.00315.03
7.4.320.0000.00616.39
7.4.300.0000.00616.52
7.4.290.0040.00416.58
7.4.280.0080.00016.50
7.4.270.0070.00016.49
7.4.260.0030.00316.55
7.4.250.0060.00316.54
7.4.240.0040.00316.54
7.4.230.0070.00016.32
7.4.220.0090.00916.66
7.4.210.0100.00516.70
7.4.200.0070.00016.31
7.4.160.0110.00516.52
7.4.150.0090.00917.40
7.4.140.0160.00517.86
7.4.130.0110.00916.59
7.4.120.0080.01016.52
7.4.110.0130.00916.60
7.4.100.0100.01016.54
7.4.90.0090.00916.53
7.4.80.0070.01819.39
7.4.70.0000.01716.59
7.4.60.0090.00616.59
7.4.50.0000.00916.61
7.4.40.0090.00916.75
7.4.30.0080.01016.71
7.4.00.0060.01215.04
7.3.330.0090.00013.12
7.3.320.0000.00513.10
7.3.310.0030.00316.30
7.3.300.0000.00816.15
7.3.290.0080.00716.31
7.3.280.0070.00916.32
7.3.270.0040.01317.40
7.3.260.0030.01416.53
7.3.250.0100.00816.29
7.3.240.0090.00916.38
7.3.230.0130.00316.39
7.3.210.0060.01216.40
7.3.200.0130.00319.39
7.3.190.0040.01516.28
7.3.180.0100.00616.21
7.3.170.0090.01316.34
7.3.160.0060.00916.44
7.3.120.0130.00514.75
7.3.110.0070.01114.77
7.3.100.0070.00614.63
7.3.90.0030.00814.58
7.3.80.0060.00914.74
7.3.70.0060.00914.69
7.3.60.0060.00314.58
7.3.50.0050.00714.59
7.3.40.0100.00314.69
7.3.30.0050.00914.61
7.3.20.0090.00616.67
7.3.10.0060.00416.60
7.3.00.0040.00916.50
7.2.330.0100.01416.77
7.2.320.0060.01016.75
7.2.310.0100.00616.71
7.2.300.0070.01116.70
7.2.290.0100.01016.50
7.2.250.0030.01414.86
7.2.240.0050.01015.13
7.2.230.0030.01014.91
7.2.220.0040.00615.00
7.2.210.0080.00615.01
7.2.200.0050.01014.97
7.2.190.0070.00715.10
7.2.180.0050.00815.07
7.2.170.0020.01214.87
7.2.60.0060.00616.67
7.1.330.0100.00515.46
7.1.320.0020.00815.53
7.1.310.0050.00815.59
7.1.300.0040.00815.66
7.1.290.0050.00915.55
7.1.280.0070.00715.70
7.1.270.0040.01115.72
7.1.260.0050.00715.68
7.1.200.0100.00315.76
7.1.100.0040.01218.04
7.1.70.0000.00817.15
7.1.60.0070.01119.32
7.1.50.0040.02216.51
7.1.00.0070.07322.33
7.0.200.0000.00816.47
7.0.140.0070.07022.07
7.0.60.0070.05019.93
7.0.50.0100.03317.88
7.0.40.0000.05720.16
7.0.30.0530.06320.20
7.0.20.0230.08720.10
7.0.10.0270.05020.25
7.0.00.0070.05320.12
5.6.280.0100.06720.87
5.6.210.0100.04320.50
5.6.200.0070.03718.27
5.6.190.0170.05020.42
5.6.180.3400.04020.51
5.6.170.0300.06720.39
5.6.160.0030.05320.55
5.6.150.0030.04318.19
5.6.140.0130.04318.15
5.6.130.0070.08018.23
5.6.120.0030.05321.06
5.6.110.0030.05720.98
5.6.100.0030.06020.98
5.6.90.0070.08320.95
5.6.80.0100.08020.41
5.6.70.0270.07320.52
5.5.350.0100.03720.40
5.5.340.0070.05017.97
5.5.330.0100.07320.37
5.5.320.0370.05320.27
5.5.310.0100.05020.51
5.5.300.0070.05017.94
5.5.290.0100.07718.08
5.5.280.0030.04320.87
5.5.270.0170.07320.76
5.5.260.0030.04320.84
5.5.250.0070.08320.68
5.5.240.0070.07720.27
5.4.450.1070.07019.45
5.4.440.0700.05719.18
5.4.430.0230.06319.38
5.4.420.0130.05319.54
5.4.410.0100.05319.43
5.4.400.0070.05719.13
5.4.390.0030.06019.03
5.4.380.0000.06719.09
5.4.370.0100.06719.16
5.4.360.0130.05019.07
5.4.350.0110.04612.02
5.4.340.0130.04112.01
5.4.320.0110.04712.50
5.4.310.0120.05612.49
5.4.300.0080.05212.50
5.4.290.0090.05112.50
5.4.280.0070.08112.39
5.4.270.0120.04812.40
5.4.260.0100.03912.39
5.4.250.0110.04412.39
5.4.240.0130.04612.39
5.4.230.0120.04712.39
5.4.220.0090.04412.39
5.4.210.0070.03712.39
5.4.200.0040.04212.39
5.4.190.0050.03712.38
5.4.180.0050.03612.38
5.4.170.0060.03812.39
5.4.160.0040.03712.39
5.4.150.0050.03812.39
5.4.140.0060.03912.07
5.4.130.0080.03312.06
5.4.120.0040.04112.02
5.4.110.0060.03512.01
5.4.100.0090.03312.01
5.4.90.0030.04012.01
5.4.80.0070.03712.01
5.4.70.0030.03912.00
5.4.60.0090.03612.01
5.4.50.0040.04112.00
5.4.40.0060.03712.00
5.4.30.0080.03512.00
5.4.20.0050.03611.99
5.4.10.0050.03411.99
5.4.00.0080.03311.48
5.3.290.0040.04112.80
5.3.280.0040.04012.71
5.3.270.0100.04212.72
5.3.260.0090.03912.72
5.3.250.0070.03912.72
5.3.240.0100.04012.72
5.3.230.0090.03812.71
5.3.220.0100.03712.68
5.3.210.0130.04112.68
5.3.200.0090.05512.68
5.3.190.0120.04712.68
5.3.180.0110.04512.67
5.3.170.0120.04512.66
5.3.160.0090.03812.68
5.3.150.0080.04812.67
5.3.140.0070.04412.66
5.3.130.0050.04312.66
5.3.120.0100.04012.65
5.3.110.0050.04512.66
5.3.100.0070.03912.12
5.3.90.0050.04712.10
5.3.80.0060.03612.09
5.3.70.0070.03412.09
5.3.60.0040.03812.07
5.3.50.0080.03512.02
5.3.40.0050.04112.02
5.3.30.0090.03611.98
5.3.20.0080.03311.76
5.3.10.0070.03411.73
5.3.00.0080.03511.73
5.2.170.0050.0319.23
5.2.160.0050.0369.23
5.2.150.0070.0289.23
5.2.140.0070.0289.22
5.2.130.0050.0319.18
5.2.120.0090.0299.18
5.2.110.0070.0309.18
5.2.100.0080.0309.18
5.2.90.0050.0359.18
5.2.80.0050.0389.17
5.2.70.0050.0339.17
5.2.60.0050.0379.13
5.2.50.0050.0389.10
5.2.40.0070.0309.08
5.2.30.0010.0409.05
5.2.20.0040.0359.04
5.2.10.0050.0308.95
5.2.00.0040.0308.81
5.1.60.0020.0298.09
5.1.50.0060.0238.09
5.1.40.0020.0278.07
5.1.30.0050.0268.42
5.1.20.0020.0288.44
5.1.10.0050.0258.17
5.1.00.0050.0248.17
5.0.50.0040.0236.64
5.0.40.0040.0206.50
5.0.30.0040.0326.32
5.0.20.0050.0186.28
5.0.10.0050.0186.26
5.0.00.0060.0276.26
4.4.90.0050.0144.78
4.4.80.0020.0164.75
4.4.70.0010.0174.75
4.4.60.0030.0164.75
4.4.50.0090.0164.77
4.4.40.0020.0324.71
4.4.30.0020.0164.76
4.4.20.0040.0144.85
4.4.10.0030.0154.85
4.4.00.0070.0224.76
4.3.110.0040.0164.67
4.3.100.0040.0174.66
4.3.90.0030.0154.63
4.3.80.0070.0214.58
4.3.70.0050.0184.63
4.3.60.0020.0204.63
4.3.50.0020.0174.63
4.3.40.0010.0264.54
4.3.30.0050.0133.30
4.3.20.0020.0183.28
4.3.10.0020.0203.24
4.3.00.0170.0237.04

preferences:
81.07 ms | 403 KiB | 5 Q