3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class ConfusingClass{ /** * Private property */ private $property = 'fucking stupid'; /** * Why does this keep happening? * * @bullshit true */ private static function bullshit() { return false; } } class ConfusedBullshit extends ConfusingClass { private static function bullshit() { return true; } }

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.0150.00016.38
8.3.50.0120.00521.93
8.3.40.0070.00718.89
8.3.30.0030.01019.01
8.3.20.0050.00320.09
8.3.10.0040.00423.48
8.3.00.0060.00319.13
8.2.180.0180.00418.41
8.2.170.0170.00022.96
8.2.160.0070.00720.40
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00022.10
8.2.110.0060.00322.32
8.2.100.0060.00619.45
8.2.90.0040.00419.13
8.2.80.0060.00317.97
8.2.70.0040.00417.50
8.2.60.0020.00517.91
8.2.50.0030.00618.07
8.2.40.0030.00619.70
8.2.30.0000.00717.95
8.2.20.0000.00817.43
8.2.10.0040.00417.93
8.2.00.0000.00717.61
8.1.280.0120.00325.92
8.1.270.0080.00023.75
8.1.260.0000.00826.35
8.1.250.0140.00328.09
8.1.240.0090.00023.82
8.1.230.0070.00419.00
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00617.10
8.1.190.0030.00517.13
8.1.180.0000.00718.10
8.1.170.0050.00318.42
8.1.160.0000.00721.90
8.1.150.0040.00418.61
8.1.140.0020.00517.35
8.1.130.0000.00717.79
8.1.120.0040.00417.39
8.1.110.0000.00917.21
8.1.100.0040.00417.30
8.1.90.0030.00517.30
8.1.80.0030.00517.21
8.1.70.0070.00017.27
8.1.60.0080.00017.48
8.1.50.0000.00917.43
8.1.40.0000.00717.39
8.1.30.0030.00517.43
8.1.20.0000.00717.56
8.1.10.0000.00817.20
8.1.00.0050.00317.37
8.0.300.0040.00418.77
8.0.290.0000.00717.04
8.0.280.0030.00318.38
8.0.270.0000.00717.12
8.0.260.0030.00317.13
8.0.250.0000.00716.71
8.0.240.0000.00816.76
8.0.230.0050.00216.73
8.0.220.0070.00016.70
8.0.210.0070.00016.74
8.0.200.0060.00016.81
8.0.190.0050.00316.83
8.0.180.0030.00516.72
8.0.170.0050.00216.68
8.0.160.0000.00716.68
8.0.150.0070.00016.57
8.0.140.0030.00316.64
8.0.130.0060.00013.23
8.0.120.0000.00816.70
8.0.110.0040.00416.60
8.0.100.0070.00016.64
8.0.90.0050.00216.72
8.0.80.0080.00816.75
8.0.70.0000.00816.73
8.0.60.0000.00716.82
8.0.50.0000.00716.82
8.0.30.0170.00616.95
8.0.20.0080.01117.40
8.0.10.0000.00716.75
8.0.00.0100.00716.66
7.4.330.0020.00215.00
7.4.320.0030.00316.45
7.4.300.0040.00416.36
7.4.290.0000.00716.35
7.4.280.0080.00016.47
7.4.270.0030.00316.38
7.4.260.0050.00316.25
7.4.250.0050.00216.32
7.4.240.0020.00516.44
7.4.230.0030.00316.52
7.4.220.0090.00616.34
7.4.210.0080.00616.41
7.4.200.0020.00516.36
7.4.190.0030.00316.54
7.4.160.0070.01016.31
7.4.150.0140.00817.40
7.4.140.0110.00617.86
7.4.130.0090.01016.34
7.4.120.0090.00716.37
7.4.110.0080.01616.45
7.4.100.0160.00316.25
7.4.90.0090.00916.39
7.4.80.0130.00719.39
7.4.70.0050.01116.61
7.4.60.0110.00716.19
7.4.50.0030.00516.51
7.4.40.0080.00816.41
7.4.30.0060.01016.11
7.4.00.0000.01214.81
7.3.330.0070.00013.25
7.3.320.0000.00513.11
7.3.310.0030.00316.21
7.3.300.0000.00716.18
7.3.290.0070.00716.22
7.3.280.0080.00916.15
7.3.270.0030.01417.40
7.3.260.0130.00316.47
7.3.250.0120.00716.26
7.3.240.0050.01616.19
7.3.230.0070.01116.39
7.3.210.0110.00516.42
7.3.200.0070.01619.39
7.3.190.0060.01216.08
7.3.180.0090.01216.23
7.3.170.0120.00316.36
7.3.160.0120.00316.21
7.3.120.0090.00614.83
7.2.330.0030.01316.17
7.2.320.0060.01216.45
7.2.310.0100.00716.43
7.2.300.0130.00316.39
7.2.290.0070.01516.47
7.1.70.0050.00317.00
7.1.60.0130.01019.46
7.1.50.0170.02034.56
7.1.00.0100.07022.45
7.0.200.0000.00716.25
7.0.140.0000.07722.15
7.0.100.0070.05719.91
7.0.90.0030.07319.96
7.0.80.0100.06720.02
7.0.70.0000.06319.85
7.0.60.0000.09319.88
7.0.50.0070.06020.30
7.0.40.0070.08320.13
7.0.30.0070.07320.05
7.0.20.0200.08020.10
7.0.10.0070.04020.09
7.0.00.0100.06320.13
5.6.280.0030.07321.13
5.6.250.0100.06720.60
5.6.240.0030.04720.71
5.6.230.0230.07320.68
5.6.220.0030.05320.56
5.6.210.0000.08720.64
5.6.200.0070.05721.08
5.6.190.0070.05021.04
5.6.180.0030.08321.04
5.6.170.0100.04721.17
5.6.160.0100.04321.10
5.6.150.0030.08721.14
5.6.140.0070.08021.00
5.6.130.0070.07020.98
5.6.120.0130.05720.96
5.6.110.0070.06021.07
5.6.100.0130.03721.04
5.6.90.0070.08721.09
5.6.80.0070.08020.56
5.6.70.0070.08320.45
5.6.60.0030.06320.39
5.6.50.0070.06720.41
5.6.40.0170.07320.50
5.6.30.0170.06720.44
5.6.20.0130.06020.30
5.6.10.0100.07320.43
5.6.00.0130.04020.36
5.5.380.0070.04720.36
5.5.370.0000.05320.51
5.5.360.0070.08020.35
5.5.350.0130.04720.36
5.5.340.0070.07320.88
5.5.330.0070.04020.83
5.5.320.0100.04720.91
5.5.310.0130.07320.92
5.5.300.0070.08320.73
5.5.290.0100.07020.64
5.5.280.0070.04720.75
5.5.270.0130.08020.92
5.5.260.0070.08020.76
5.5.250.0000.04720.70
5.5.240.0170.07020.18
5.5.230.0130.06320.11
5.5.220.0170.07320.29
5.5.210.0100.04020.26
5.5.200.0130.07320.15
5.5.190.0070.04720.19
5.5.180.0070.07320.15
5.5.160.0100.07019.98
5.5.150.0100.07020.18
5.5.140.0070.04320.17
5.5.130.0070.06720.12
5.5.120.0130.04320.15
5.5.110.0100.07720.26
5.5.100.0100.07020.08
5.5.90.0030.07720.06
5.5.80.0200.05720.07
5.5.70.0100.05720.09
5.5.60.0030.05720.04
5.5.50.0100.04320.08
5.5.40.0170.03320.02
5.5.30.0130.07320.05
5.5.20.0000.04319.95
5.5.10.0000.04020.03
5.5.00.0070.04020.05
5.4.450.0070.08319.35
5.4.440.0030.08719.45
5.4.430.0070.06019.27
5.4.420.0070.04319.50
5.4.410.0070.08019.24
5.4.400.0130.07018.88
5.4.390.0030.08319.02
5.4.380.0100.07319.05
5.4.370.0070.07319.14
5.4.360.0030.07719.03
5.4.350.0100.06718.91
5.4.340.0070.06719.18
5.4.320.0100.07318.88
5.4.310.0000.07019.00
5.4.300.0070.04319.04
5.4.290.0070.04718.87
5.4.280.0130.05319.12
5.4.270.0130.04019.16
5.4.260.0070.04318.84
5.4.250.0130.05019.20
5.4.240.0030.07019.11
5.4.230.0030.07319.25
5.4.220.0070.06319.24
5.4.210.0070.07318.84
5.4.200.0070.06718.86
5.4.190.0070.03319.02
5.4.180.0030.04719.02
5.4.170.0070.03319.21
5.4.160.0100.04319.10
5.4.150.0000.04319.02
5.4.140.0030.03316.51
5.4.130.0000.04316.48
5.4.120.0030.03016.38
5.4.110.0030.03716.40
5.4.100.0070.03016.54
5.4.90.0030.03016.48
5.4.80.0070.02716.46
5.4.70.0030.03316.43
5.4.60.0000.03016.25
5.4.50.0000.03016.29
5.4.40.0000.03316.46
5.4.30.0070.02716.30
5.4.20.0000.03716.30
5.4.10.0030.03316.46
5.4.00.0000.03715.89
5.3.290.0030.08014.72
5.3.280.0100.04714.55
5.3.270.0000.06014.54
5.3.260.0030.03714.67
5.3.250.0030.03714.61
5.3.240.0000.03314.58
5.3.230.0030.03014.63
5.3.220.0000.03714.54
5.3.210.0070.03314.50
5.3.200.0030.03014.52
5.3.190.0000.03314.53
5.3.180.0030.03014.72
5.3.170.0100.02314.67
5.3.160.0030.03014.63
5.3.150.0100.03014.49
5.3.140.0000.03714.62
5.3.130.0030.03714.52
5.3.120.0000.04014.57
5.3.110.0130.02314.60
5.3.100.0000.04014.18
5.3.90.0070.03314.00
5.3.80.0100.03014.13
5.3.70.0100.03013.95
5.3.60.0000.04014.12
5.3.50.0000.04013.98
5.3.40.0030.03013.96
5.3.30.0030.03313.84
5.3.20.0000.03713.75
5.3.10.0030.03313.56
5.3.00.0030.03713.63
5.2.170.0000.03311.20
5.2.160.0000.02711.13
5.2.150.0000.03011.13
5.2.140.0100.03311.19
5.2.130.0000.03311.16
5.2.120.0000.02711.11
5.2.110.0030.02711.09
5.2.100.0100.02311.19
5.2.90.0000.03011.16
5.2.80.0030.02311.25
5.2.70.0000.02711.16
5.2.60.0000.03011.10
5.2.50.0030.02311.16
5.2.40.0030.02711.05
5.2.30.0030.02311.06
5.2.20.0000.03011.02
5.2.10.0000.02710.72
5.2.00.0000.03310.77
5.1.60.0000.02710.00
5.1.50.0000.02010.11
5.1.40.0000.0279.82
5.1.30.0030.02710.36
5.1.20.0000.02310.36
5.1.10.0030.0209.92
5.1.00.0070.01710.14
5.0.50.0030.0208.63
5.0.40.0000.0178.51
5.0.30.0000.0338.23
5.0.20.0000.0178.29
5.0.10.0000.0208.28
5.0.00.0000.0278.24
4.4.90.0030.0138.23
4.4.80.0070.0108.23
4.4.70.0000.0178.23
4.4.60.0000.0138.23
4.4.50.0070.0078.23
4.4.40.0000.0238.23
4.4.30.0000.0178.23
4.4.20.0000.0138.23
4.4.10.0000.0138.23
4.4.00.0070.0208.23
4.3.110.0030.0108.23
4.3.100.0000.0138.23
4.3.90.0000.0178.23
4.3.80.0000.0278.23
4.3.70.0000.0208.23
4.3.60.0070.0108.23
4.3.50.0000.0138.23
4.3.40.0030.0178.23
4.3.30.0000.0208.23
4.3.20.0030.0108.23
4.3.10.0030.0178.23
4.3.00.0000.0208.23

preferences:
42.41 ms | 401 KiB | 5 Q