3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class a { public static $hoge; public static function aa() { self::$hoge = new static; } } class b extends a { } b::aa(); var_dump(a::$hoge, b::$hoge);

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.0070.00718.43
8.3.50.0100.01021.19
8.3.40.0180.00418.96
8.3.30.0130.00020.21
8.3.20.0040.00418.71
8.3.10.0000.00821.00
8.3.00.0050.00323.48
8.2.180.0110.00416.50
8.2.170.0110.00322.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00019.77
8.2.110.0050.00319.27
8.2.100.0040.00817.72
8.2.90.0050.00319.27
8.2.80.0000.00719.31
8.2.70.0040.00417.25
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0070.00019.50
8.2.20.0000.00717.57
8.2.10.0000.00717.52
8.2.00.0040.00417.48
8.1.280.0040.01425.92
8.1.270.0080.00023.99
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0070.00322.61
8.1.230.0080.00320.89
8.1.220.0030.00518.77
8.1.210.0000.00818.91
8.1.200.0090.00017.00
8.1.190.0000.00717.41
8.1.180.0030.00618.10
8.1.170.0060.00318.36
8.1.160.0000.00718.82
8.1.150.0080.00018.50
8.1.140.0040.00417.38
8.1.130.0000.00717.82
8.1.120.0100.00017.32
8.1.110.0060.00317.28
8.1.100.0030.00317.29
8.1.90.0000.00717.27
8.1.80.0050.00317.46
8.1.70.0030.00317.28
8.1.60.0000.00817.57
8.1.50.0050.00217.50
8.1.40.0040.00417.39
8.1.30.0000.00817.57
8.1.20.0030.00617.62
8.1.10.0040.00417.56
8.1.00.0070.00417.48
8.0.300.0080.00019.96
8.0.290.0000.00717.18
8.0.280.0030.00318.46
8.0.270.0030.00317.10
8.0.260.0030.00316.71
8.0.250.0040.00416.82
8.0.240.0090.00016.93
8.0.230.0000.00716.86
8.0.220.0030.00316.82
8.0.210.0000.00716.82
8.0.200.0000.00616.82
8.0.190.0000.01016.95
8.0.180.0000.00816.76
8.0.170.0030.00316.85
8.0.160.0030.00416.75
8.0.150.0070.00016.82
8.0.140.0000.00816.67
8.0.130.0060.00013.25
8.0.120.0000.00716.82
8.0.110.0040.00416.71
8.0.100.0070.00016.75
8.0.90.0030.00316.60
8.0.80.0000.01516.80
8.0.70.0040.00416.82
8.0.60.0000.00716.78
8.0.50.0030.00616.67
8.0.30.0130.01117.00
8.0.20.0130.00617.40
8.0.10.0040.00416.80
8.0.00.0040.01716.92
7.4.330.0000.00516.67
7.4.320.0030.00316.55
7.4.300.0000.00716.53
7.4.290.0000.00716.35
7.4.280.0000.00716.48
7.4.270.0070.00016.39
7.4.260.0030.00313.27
7.4.250.0000.00716.36
7.4.240.0000.00716.56
7.4.230.0000.00716.46
7.4.220.0090.00916.39
7.4.210.0090.00716.51
7.4.200.0000.00716.68
7.4.190.0070.00016.35
7.4.160.0030.01316.43
7.4.150.0090.00917.40
7.4.140.0070.01017.86
7.4.130.0060.01216.61
7.4.120.0110.00816.50
7.4.110.0100.00716.46
7.4.100.0130.00316.34
7.4.90.0120.00616.48
7.4.80.0100.00719.39
7.4.70.0090.00916.60
7.4.60.0040.01216.57
7.4.50.0050.00016.46
7.4.40.0130.00022.77
7.4.30.0230.00016.43
7.4.00.0110.00414.81
7.3.330.0000.00513.12
7.3.320.0050.00013.08
7.3.310.0060.00016.45
7.3.300.0000.00716.18
7.3.290.0090.00916.22
7.3.280.0090.01016.27
7.3.270.0100.00717.40
7.3.260.0120.01018.24
7.3.250.0060.01216.32
7.3.240.0060.00916.45
7.3.230.0100.00716.45
7.3.210.0160.00016.14
7.3.200.0070.01319.39
7.3.190.0110.01116.31
7.3.180.0060.01016.32
7.3.170.0040.01116.40
7.3.160.0150.00016.32
7.3.120.0030.01214.79
7.3.10.0130.00616.44
7.3.00.0100.00316.09
7.2.330.0070.01016.32
7.2.320.0100.00716.18
7.2.310.0060.01116.51
7.2.300.0120.00316.70
7.2.290.0040.01116.68
7.2.130.0110.01116.68
7.2.120.0150.01016.57
7.2.110.0120.00616.44
7.2.100.0120.00916.40
7.2.90.0140.00416.23
7.2.80.0150.00916.17
7.2.70.0140.00316.41
7.2.60.0070.01016.23
7.2.50.0130.00715.82
7.2.40.0160.00816.84
7.2.30.0030.01415.79
7.2.20.0090.00916.29
7.2.10.0180.00016.31
7.2.00.0120.00617.93
7.1.250.0160.00515.38
7.1.100.0000.01118.00
7.1.70.0090.00917.15
7.1.60.0140.01019.17
7.1.50.0030.02016.85
7.1.00.0070.07322.32
7.0.200.0050.01914.70
7.0.140.0000.07722.18
7.0.100.0030.06720.04
7.0.90.0200.06320.03
7.0.80.0130.07319.98
7.0.70.0030.08319.98
7.0.60.0070.05320.08
7.0.50.0200.07720.32
7.0.40.0170.07020.11
7.0.30.0070.05320.14
7.0.20.0130.07720.13
7.0.10.0130.06720.18
7.0.00.0030.05320.12
5.6.280.0100.06720.81
5.6.250.0130.07020.50
5.6.240.0130.07720.64
5.6.230.0030.08020.51
5.6.220.0200.07020.68
5.6.210.0230.07020.57
5.6.200.0000.09021.05
5.6.190.0000.09321.12
5.6.180.0030.08721.08
5.6.170.0170.06721.09
5.6.160.0100.05321.04
5.6.150.0030.08021.02
5.6.140.0200.06721.00
5.6.130.0030.06321.17
5.6.120.0100.08021.06
5.6.110.0070.05720.92
5.6.100.0070.07321.05
5.6.90.0070.08320.94
5.6.80.0070.06720.35
5.6.70.0130.07020.40
5.6.60.0030.03720.32
5.6.50.0000.08320.41
5.6.40.0030.04020.53
5.6.30.0100.07020.32
5.6.20.0170.06320.43
5.6.10.0130.07320.40
5.6.00.0200.07020.36
5.5.380.0100.07720.37
5.5.370.0070.07720.52
5.5.360.0130.07020.42
5.5.350.0130.06320.48
5.5.340.0100.05020.80
5.5.330.0100.04720.94
5.5.320.0070.08720.80
5.5.310.0030.09020.92
5.5.300.0100.07020.78
5.5.290.0130.08020.77
5.5.280.0070.08020.92
5.5.270.0070.07720.86
5.5.260.0070.08020.75
5.5.250.0130.07720.70
5.5.240.0100.06320.18
5.5.230.0100.07720.24
5.5.220.0030.06720.14
5.5.210.0130.03020.31
5.5.200.0030.04020.15
5.5.190.0000.08020.28
5.5.180.0030.03720.24
5.5.160.0100.07020.24
5.5.150.0070.07719.95
5.5.140.0030.08320.25
5.5.130.0100.07720.10
5.5.120.0130.04720.26
5.5.110.0170.07320.23
5.5.100.0130.06320.08
5.5.90.0030.07320.10
5.5.80.0130.07320.15
5.5.70.0000.07020.06
5.5.60.0130.06720.11
5.5.50.0130.06720.00
5.5.40.0100.06720.16
5.5.30.0130.07720.05
5.5.20.0030.07719.96
5.5.10.0070.08020.12
5.5.00.0170.06020.07
5.4.450.0070.08019.47
5.4.440.0070.07319.22
5.4.430.0070.07019.48
5.4.420.0030.07019.46
5.4.410.0100.04319.33
5.4.400.0000.04019.05
5.4.390.0000.08019.04
5.4.380.0030.08719.19
5.4.370.0100.06318.88
5.4.360.0030.07318.95
5.4.350.0070.05318.95
5.4.340.0030.08019.05
5.4.320.0230.06019.14
5.4.310.0070.07719.05
5.4.300.0100.08019.16
5.4.290.0070.06719.23
5.4.280.0030.08019.18
5.4.270.0030.08019.14
5.4.260.0030.04719.09
5.4.250.0070.06319.16
5.4.240.0000.08319.04
5.4.230.0100.07318.86
5.4.220.0170.07019.20
5.4.210.0070.07319.12
5.4.200.0030.07019.17
5.4.190.0000.07719.04
5.4.180.0030.05318.84
5.4.170.0070.06719.08
5.4.160.0170.07019.18
5.4.150.0100.06019.21
5.4.140.0030.08016.55
5.4.130.0100.07316.55
5.4.120.0070.07316.51
5.4.110.0130.05316.52
5.4.100.0100.07016.49
5.4.90.0030.07316.41
5.4.80.0100.06316.45
5.4.70.0030.07716.44
5.4.60.0030.07316.37
5.4.50.0100.06316.36
5.4.40.0070.07316.52
5.4.30.0100.07016.30
5.4.20.0000.07316.31
5.4.10.0030.07716.40
5.4.00.0030.07015.89
5.3.290.0030.07714.59
5.3.280.0070.04014.57
5.3.270.0070.07714.66
5.3.260.0100.07014.74
5.3.250.0030.07014.62
5.3.240.0030.05014.70
5.3.230.0100.05714.66
5.3.220.0100.07014.51
5.3.210.0100.06314.59
5.3.200.0070.06314.52
5.3.190.0070.07314.50
5.3.180.0070.07714.63
5.3.170.0070.07714.59
5.3.160.0100.06714.52
5.3.150.0200.04014.52
5.3.140.0030.05314.70
5.3.130.0070.05714.65
5.3.120.0070.07314.64
5.3.110.0070.04314.58
5.3.100.0100.05014.16
5.3.90.0070.06314.00
5.3.80.0030.07314.04
5.3.70.0030.04314.00
5.3.60.0070.06014.10
5.3.50.0030.07013.84
5.3.40.0130.07013.87
5.3.30.0070.04313.98
5.3.20.0130.06713.70
5.3.10.0000.07313.71
5.3.00.0130.06713.73
5.2.170.0070.06011.16
5.2.160.0030.06311.18
5.2.150.0070.06311.01
5.2.140.0030.06311.25
5.2.130.0070.05711.02
5.2.120.0100.05311.13
5.2.110.0100.05311.03
5.2.100.0070.04311.22
5.2.90.0070.05311.11
5.2.80.0030.07010.98
5.2.70.0030.04311.08
5.2.60.0130.04311.16
5.2.50.0100.05711.13
5.2.40.0130.04711.05
5.2.30.0100.05010.86
5.2.20.0070.05710.99
5.2.10.0070.03310.93
5.2.00.0030.06310.73
5.1.60.0030.04310.12
5.1.50.0030.05310.05
5.1.40.0070.0479.98
5.1.30.0100.05010.25
5.1.20.0030.05710.51
5.1.10.0100.0509.96
5.1.00.0030.03010.07
5.0.50.0030.0308.63
5.0.40.0000.0508.43
5.0.30.0130.0538.38
5.0.20.0000.0438.38
5.0.10.0070.0378.38
5.0.00.0070.0678.38
4.4.90.0000.0408.38
4.4.80.0000.0308.38
4.4.70.0070.0238.38
4.4.60.0000.0378.38
4.4.50.0030.0338.38
4.4.40.0030.0508.38
4.4.30.0000.0338.38
4.4.20.0000.0378.38
4.4.10.0000.0378.38
4.4.00.0000.0578.38
4.3.110.0000.0378.38
4.3.100.0030.0278.38
4.3.90.0030.0338.38
4.3.80.0000.0538.38
4.3.70.0030.0238.38
4.3.60.0070.0278.38
4.3.50.0000.0338.38
4.3.40.0070.0478.38
4.3.30.0100.0238.38
4.3.20.0070.0138.38
4.3.10.0000.0208.38
4.3.00.0000.0308.38

preferences:
52.5 ms | 401 KiB | 5 Q