3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * This is fucking stupid */ abstract class ConfusingClass{ /** * Private property */ private $property = 'fucking stupid'; /** * Why does this keep happening? * * @bullshit true */ private function bullshit() { return false; } public function derp() { echo "test: ", $this->bullshit(), "\n"; } } class ConfusedBullshit extends ConfusingClass { private function bullshit() { return $this->property; } } $f = new ConfusedBullshit; $f->derp(); $d = new ReflectionClass('ConfusedBullshit'); var_dump($d); var_dump($d->getProperties());

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.00618.16
8.3.50.0120.00821.89
8.3.40.0110.00418.62
8.3.30.0090.00619.09
8.3.20.0080.00020.16
8.3.10.0050.00323.48
8.3.00.0040.00422.58
8.2.180.0070.01016.63
8.2.170.0160.00322.96
8.2.160.0030.01022.16
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00417.75
8.2.110.0090.00019.30
8.2.100.0040.00718.03
8.2.90.0000.00819.00
8.2.80.0080.00017.97
8.2.70.0090.00017.50
8.2.60.0040.00817.64
8.2.50.0000.00818.10
8.2.40.0030.00620.47
8.2.30.0050.00220.91
8.2.20.0070.00017.73
8.2.10.0040.00417.50
8.2.00.0000.00717.68
8.1.280.0130.00925.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0120.00620.93
8.1.230.0070.00420.27
8.1.220.0030.00917.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00417.23
8.1.180.0040.00418.10
8.1.170.0060.00318.59
8.1.160.0040.00418.74
8.1.150.0080.00020.18
8.1.140.0040.00417.30
8.1.130.0080.00017.82
8.1.120.0040.00417.46
8.1.110.0080.00017.39
8.1.100.0040.00417.32
8.1.90.0000.01117.43
8.1.80.0070.00017.30
8.1.70.0030.00317.39
8.1.60.0030.00717.60
8.1.50.0000.00817.49
8.1.40.0030.00517.47
8.1.30.0060.00317.54
8.1.20.0000.00917.66
8.1.10.0040.00417.46
8.1.00.0000.00817.39
8.0.300.0040.00418.77
8.0.290.0000.00816.88
8.0.280.0040.00418.36
8.0.270.0040.00417.25
8.0.260.0000.00616.76
8.0.250.0000.00717.02
8.0.240.0060.00316.87
8.0.230.0080.00016.92
8.0.220.0040.00416.88
8.0.210.0030.00316.85
8.0.200.0030.00316.88
8.0.190.0040.00416.79
8.0.180.0000.00816.76
8.0.170.0080.00016.80
8.0.160.0000.00716.75
8.0.150.0050.00316.68
8.0.140.0070.00016.69
8.0.130.0000.00513.26
8.0.120.0070.00016.79
8.0.110.0050.00316.74
8.0.100.0020.00516.84
8.0.90.0040.00416.84
8.0.80.0040.01816.73
8.0.70.0040.00416.64
8.0.60.0050.00216.87
8.0.50.0000.00816.86
8.0.30.0110.00816.82
8.0.20.0130.00917.40
8.0.10.0040.00416.84
8.0.00.0070.01216.64
7.4.330.0050.00015.03
7.4.320.0040.00416.46
7.4.300.0030.00316.48
7.4.290.0000.00716.50
7.4.280.0000.00716.50
7.4.270.0080.00316.52
7.4.260.0040.00416.59
7.4.250.0030.00316.56
7.4.240.0040.00316.63
7.4.230.0000.00716.50
7.4.220.0100.00716.50
7.4.210.0060.00816.54
7.4.200.0070.00016.48
7.4.190.0070.00016.78
7.4.160.0030.01316.48
7.4.150.0140.00417.40
7.4.140.0070.01117.86
7.4.130.0080.01216.42
7.4.120.0100.00816.60
7.4.110.0160.00016.29
7.4.100.0230.00016.44
7.4.90.0100.01316.25
7.4.80.0060.00916.61
7.4.70.0090.00616.51
7.4.60.0030.01316.48
7.4.50.0050.00016.29
7.4.40.0120.00622.77
7.4.30.0080.01116.32
7.4.00.0100.00715.02
7.3.330.0020.00213.21
7.3.320.0020.00213.25
7.3.310.0030.00316.41
7.3.300.0000.00716.11
7.3.290.0100.00316.22
7.3.280.0070.01016.22
7.3.270.0140.00917.40
7.3.260.0070.01016.24
7.3.250.0110.00916.19
7.3.240.0040.01216.50
7.3.230.0120.00916.39
7.3.210.0110.00616.37
7.3.200.0100.00719.39
7.3.190.0070.01016.43
7.3.180.0180.00016.39
7.3.170.0040.01216.27
7.3.160.0130.00316.50
7.3.120.0090.00914.55
7.2.330.0070.01116.59
7.2.320.0080.00916.70
7.2.310.0030.01416.56
7.2.300.0150.00316.70
7.2.290.0090.00816.78
7.2.60.0100.00316.84
7.2.00.0040.01119.20
7.1.200.0090.00615.59
7.1.100.0000.01417.89
7.1.70.0000.00817.21
7.1.60.0140.01019.24
7.1.50.0090.01516.95
7.1.00.0030.07722.40
7.0.200.0000.00716.85
7.0.140.0070.07022.11
7.0.60.0070.08319.88
7.0.50.0130.07717.89
7.0.40.0030.09020.02
7.0.30.0300.05320.12
7.0.20.0370.03720.19
7.0.10.0300.04720.22
7.0.00.0130.07720.15
5.6.280.0130.06320.93
5.6.210.0030.05720.54
5.6.200.0200.05718.17
5.6.190.0070.08020.67
5.6.180.3500.05020.78
5.6.170.0230.04020.52
5.6.160.0070.08720.51
5.6.150.0030.04318.29
5.6.140.0100.07718.15
5.6.130.0030.08318.24
5.6.120.0070.08321.04
5.6.110.0070.08020.90
5.6.100.0070.08321.05
5.6.90.0130.08021.04
5.6.80.0100.04020.51
5.6.70.4030.04320.37
5.5.350.0070.07720.41
5.5.340.0000.04318.02
5.5.330.0100.07020.19
5.5.320.0100.04020.38
5.5.310.0370.06720.30
5.5.300.0030.09018.04
5.5.290.0100.04718.09
5.5.280.0130.06720.78
5.5.270.0030.07720.77
5.5.260.0100.06720.97
5.5.250.0130.08020.69
5.5.240.0030.04020.17
5.4.450.0270.04719.30
5.4.440.0400.04719.41
5.4.430.0500.03319.52
5.4.420.0800.04019.16
5.4.410.0170.07319.00
5.4.400.0030.05718.67
5.4.390.0100.05718.51
5.4.380.0100.06018.57
5.4.370.0130.05018.70
5.4.360.0070.05318.48
5.4.350.0170.05018.60
5.4.340.0070.06018.76
5.4.320.0040.04112.50
5.4.310.0100.04012.50
5.4.300.0110.03912.50
5.4.290.0070.04212.50
5.4.280.0070.03812.40
5.4.270.0080.04012.40
5.4.260.0080.03512.40
5.4.250.0040.03912.40
5.4.240.0120.03512.40
5.4.230.0060.03812.39
5.4.220.0050.04412.39
5.4.210.0090.04212.39
5.4.200.0090.04112.39
5.4.190.0080.04212.38
5.4.180.0070.03412.38
5.4.170.0150.04212.38
5.4.160.0170.04712.37
5.4.150.0500.07012.37
5.4.140.0160.04112.05
5.4.130.0180.04312.05
5.4.120.0130.04312.00
5.4.110.0170.03911.99
5.4.100.0190.03812.00
5.4.90.0140.04312.00
5.4.80.0100.04712.00
5.4.70.0180.03811.99
5.4.60.0150.04111.99
5.4.50.0160.04012.00
5.4.40.0120.04311.98
5.4.30.0180.04211.97
5.4.20.0140.04211.98
5.4.10.0170.03911.98
5.4.00.0150.07011.46
5.3.290.0080.03812.80
5.3.280.0060.03612.71
5.3.270.0150.04512.73
5.3.260.0200.04012.72
5.3.250.0170.04212.72
5.3.240.0130.04612.72
5.3.230.0280.09312.71
5.3.220.0170.04212.68
5.3.210.0200.04012.68
5.3.200.0120.04712.68
5.3.190.0190.04212.68
5.3.180.0150.04712.67
5.3.170.0150.04712.67
5.3.160.0260.06512.68
5.3.150.0170.04212.68
5.3.140.0220.03712.66
5.3.130.0130.04712.66
5.3.120.0110.04912.66
5.3.110.0140.04612.66
5.3.100.0280.06112.12
5.3.90.0150.04312.11
5.3.80.0110.04812.08
5.3.70.0140.04512.08
5.3.60.0130.04712.08
5.3.50.0160.04212.02
5.3.40.0180.04012.02
5.3.30.0170.04011.99
5.3.20.0160.04111.77
5.3.10.0150.04011.73
5.3.00.0170.06911.71
5.2.170.0160.0319.22
5.2.160.0120.0349.22
5.2.150.0190.0589.21
5.2.140.0150.0329.22
5.2.130.0100.0369.18
5.2.120.0090.0369.18
5.2.110.0100.0379.18
5.2.100.0130.0339.19
5.2.90.0160.0919.18
5.2.80.0080.0389.17
5.2.70.0140.0339.17
5.2.60.0140.0329.13
5.2.50.0140.0329.10
5.2.40.0090.0389.07
5.2.30.0120.0349.04
5.2.20.0110.0369.05
5.2.10.0130.0358.96
5.2.00.0210.0558.80
5.1.60.0080.0328.09
5.1.50.0070.0338.09
5.1.40.0130.0288.07
5.1.30.0130.0298.42
5.1.20.0130.0298.45
5.1.10.0140.0288.17
5.1.00.0130.0278.16
5.0.50.0180.0456.64
5.0.40.0040.0276.50
5.0.30.0050.0396.32
5.0.20.0090.0226.28
5.0.10.0090.0246.27
5.0.00.0090.0346.25
4.4.90.0260.0584.78
4.4.80.0060.0184.75
4.4.70.0070.0194.75
4.4.60.0090.0164.75
4.4.50.0080.0164.77
4.4.40.0080.0274.71
4.4.30.0050.0204.75
4.4.20.0050.0194.85
4.4.10.0080.0164.85
4.4.00.0070.0284.76
4.3.110.0080.0174.67
4.3.100.0090.0164.66
4.3.90.0200.0344.64
4.3.80.0080.0264.58
4.3.70.0070.0164.63
4.3.60.0070.0174.63
4.3.50.0050.0204.63
4.3.40.0070.0264.54
4.3.30.0070.0163.30
4.3.20.0010.0223.29
4.3.10.0040.0183.25
4.3.00.0200.01313.32

preferences:
46.1 ms | 401 KiB | 5 Q