3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * This is fucking stupid */ 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->property, "\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.40.0070.00718.68
8.3.30.0060.01318.38
8.3.20.0080.00018.57
8.3.10.0040.00421.05
8.3.00.0040.00423.56
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0050.00326.16
8.2.120.0030.00621.03
8.2.110.0100.00020.52
8.2.100.0070.00417.72
8.2.90.0070.00019.22
8.2.80.0000.00719.42
8.2.70.0000.00917.50
8.2.60.0040.00417.68
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0000.00719.50
8.2.20.0080.00017.72
8.2.10.0070.00017.61
8.2.00.0090.00017.53
8.1.270.0000.00723.99
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.90
8.1.230.0070.00321.04
8.1.220.0050.00318.77
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0060.00317.51
8.1.180.0000.00918.10
8.1.170.0080.00018.52
8.1.160.0040.00418.70
8.1.150.0000.00718.52
8.1.140.0040.00417.48
8.1.130.0030.00317.79
8.1.120.0080.00017.40
8.1.110.0040.00417.46
8.1.100.0030.00417.42
8.1.90.0000.00717.41
8.1.80.0040.00417.39
8.1.70.0030.00317.32
8.1.60.0090.00017.60
8.1.50.0070.00017.37
8.1.40.0050.00217.52
8.1.30.0070.00017.67
8.1.20.0030.00517.48
8.1.10.0000.00717.54
8.1.00.0040.00417.51
8.0.300.0040.00419.98
8.0.290.0060.00317.18
8.0.280.0030.00318.45
8.0.270.0000.00817.21
8.0.260.0030.00516.84
8.0.250.0060.00316.84
8.0.240.0070.00016.82
8.0.230.0040.00416.96
8.0.220.0070.00016.81
8.0.210.0040.00416.80
8.0.200.0060.00316.80
8.0.190.0070.00016.99
8.0.180.0040.00416.83
8.0.170.0030.00516.72
8.0.160.0040.00416.79
8.0.150.0040.00416.80
8.0.140.0040.00416.80
8.0.130.0070.00013.19
8.0.120.0040.00416.73
8.0.110.0020.00516.89
8.0.100.0000.00716.84
8.0.90.0030.00316.89
8.0.80.0060.01016.81
8.0.70.0040.00416.73
8.0.60.0030.00516.70
8.0.50.0040.00416.69
8.0.30.0090.00917.05
8.0.20.0150.00417.40
8.0.10.0050.00216.75
8.0.00.0080.01116.77
7.4.330.0000.00516.71
7.4.320.0030.00316.46
7.4.300.0030.00316.63
7.4.290.0070.00016.61
7.4.280.0000.00816.64
7.4.270.0030.00316.65
7.4.260.0000.00513.22
7.4.250.0080.00016.56
7.4.240.0030.00316.52
7.4.230.0000.00716.41
7.4.220.0120.00916.46
7.4.210.0110.00616.60
7.4.200.0000.00716.61
7.4.190.0030.00316.76
7.4.160.0110.00816.47
7.4.150.0090.00817.40
7.4.140.0070.01017.86
7.4.130.0150.00516.57
7.4.120.0150.00216.50
7.4.110.0070.01116.48
7.4.100.0190.00316.39
7.4.90.0100.01316.42
7.4.80.0070.01019.39
7.4.70.0110.00716.34
7.4.60.0060.01016.29
7.4.50.0040.00416.21
7.4.40.0060.00622.77
7.4.30.0130.01016.65
7.4.00.0060.00914.80
7.3.330.0050.00013.18
7.3.320.0000.00513.20
7.3.310.0000.00716.11
7.3.300.0030.00316.26
7.3.290.0110.00416.21
7.3.280.0060.01016.26
7.3.270.0130.00617.40
7.3.260.0130.00918.24
7.3.250.0100.00616.39
7.3.240.0120.00416.54
7.3.230.0120.01216.47
7.3.210.0070.01016.28
7.3.200.0100.00719.39
7.3.190.0070.01016.56
7.3.180.0040.01316.38
7.3.170.0170.00416.27
7.3.160.0060.00916.18
7.3.120.0040.01114.62
7.3.10.0060.00616.45
7.3.00.0040.00416.58
7.2.330.0110.00716.45
7.2.320.0090.00916.81
7.2.310.0110.00516.40
7.2.300.0100.01316.76
7.2.290.0120.00416.86
7.2.130.0070.00716.91
7.2.120.0070.00316.71
7.2.110.0020.01216.53
7.2.100.0040.00816.83
7.2.90.0120.00016.95
7.2.80.0090.00617.12
7.2.70.0070.00716.64
7.2.60.0080.00516.87
7.2.50.0040.00816.91
7.2.40.0070.00416.88
7.2.30.0080.00316.99
7.2.20.0030.01016.95
7.2.10.0050.00516.73
7.2.00.0020.01018.09
7.1.250.0040.00415.82
7.1.200.0130.00315.30
7.1.70.0040.01117.17
7.1.60.0040.01817.09
7.1.50.0100.00717.02
7.1.40.0030.00916.91
7.1.30.0030.01716.91
7.1.20.0070.01416.91
7.1.10.0100.00716.91
7.1.00.0060.00616.91
7.0.200.0100.00316.91
7.0.190.0060.00916.91
7.0.180.0000.01716.91
7.0.170.0000.01716.91
7.0.160.0030.00616.91
7.0.150.0030.00616.91
7.0.140.0000.01616.91
7.0.130.0030.00616.91
7.0.120.0000.00716.91
7.0.110.0030.01216.91
7.0.100.0070.00716.91
7.0.90.0030.01316.91
7.0.80.0030.01016.91
7.0.70.0060.00816.91
7.0.60.0040.00416.91
7.0.50.0030.01316.91
7.0.40.0090.00016.91
7.0.30.0000.00716.91
7.0.20.0030.01016.91
7.0.10.0030.01316.91
7.0.00.0030.01316.91
5.6.300.0030.06720.77
5.6.290.0030.04220.63
5.6.280.0100.07820.88
5.6.270.0070.06521.08
5.6.260.0000.04820.79
5.6.250.0030.04820.91
5.6.240.0030.04320.97
5.6.230.0100.07520.87
5.6.220.0100.04620.87
5.6.210.0030.04920.84
5.6.200.0030.06720.88
5.6.190.0100.06720.96
5.6.180.0030.08321.04
5.6.170.0030.08720.86
5.6.160.0030.08621.03
5.6.150.0030.05421.05
5.6.140.0070.08020.87
5.6.130.0060.03920.77
5.6.120.0030.07120.77
5.6.110.0100.03920.76
5.6.100.0070.08620.91
5.6.90.0170.07020.86
5.6.80.0070.07020.25
5.6.70.0100.03320.21
5.6.60.0030.08020.20
5.6.50.0030.05820.41
5.6.40.0030.04720.35
5.6.30.0100.05120.30
5.6.20.0070.05620.22
5.6.10.0060.03520.28
5.6.00.0000.05820.09
5.5.380.0100.07617.58
5.5.370.0030.07817.41
5.5.360.0000.04417.52
5.5.350.0070.03617.64
5.5.340.0100.07718.13
5.5.330.0030.06817.84
5.5.320.0030.08518.00
5.5.310.0000.06518.18
5.5.300.0030.04018.02
5.5.290.0000.05418.09
5.5.280.0130.06918.12
5.5.270.0100.04518.11
5.5.260.0060.05518.16
5.5.250.0070.08217.90
5.5.240.0100.06817.25
5.5.230.0100.07317.38
5.5.220.0000.07217.55
5.5.210.0060.05517.47
5.5.200.0030.04817.20
5.5.190.0030.05617.44
5.5.180.0000.04917.21
5.5.160.0030.06817.53
5.5.150.0070.08017.05
5.5.140.0030.08117.43
5.5.130.0030.08217.21
5.5.120.0000.04417.38
5.5.110.0030.04117.21
5.5.100.0070.03417.29
5.5.90.0030.03617.37
5.5.80.0030.03817.38
5.5.70.0070.03416.98
5.5.60.0030.07217.26
5.5.50.0070.03917.33
5.5.40.0030.04217.25
5.5.30.0100.03717.34
5.5.20.0000.05317.33
5.5.10.0000.04317.08
5.5.00.0000.04317.26
5.4.450.0000.04719.50
5.4.440.0030.04619.40
5.4.430.0030.07319.39
5.4.420.0110.03519.30
5.4.410.0100.08119.28
5.4.400.0100.04318.91
5.4.390.0030.08218.98
5.4.380.0030.06119.14
5.4.370.0100.07819.07
5.4.360.0100.07119.21
5.4.350.0100.03619.07
5.4.340.0030.03819.23
5.4.320.0070.04418.92
5.4.310.0030.04819.07
5.4.300.0100.07318.98
5.4.290.0030.04319.20
5.4.280.0030.04718.98
5.4.270.0130.03218.94
5.4.260.0030.04018.98
5.4.250.0060.03619.23
5.4.240.0000.04318.98
5.4.230.0030.05919.22
5.4.220.0030.04219.21
5.4.210.0070.03819.05
5.4.200.0060.04518.94
5.4.190.0030.03819.14
5.4.180.0030.04019.06
5.4.170.0130.03619.05
5.4.160.0220.03218.96
5.4.150.0090.03118.96
5.4.140.0000.04316.91
5.4.130.0070.03116.91
5.4.120.0030.03416.91
5.4.110.0000.03916.91
5.4.100.0060.03216.91
5.4.90.0000.04116.91
5.4.80.0030.03616.91
5.4.70.0000.03616.91
5.4.60.0030.03416.91
5.4.50.0030.03816.91
5.4.40.0030.03316.91
5.4.30.0000.03916.91
5.4.20.0030.03316.91
5.4.10.0000.04216.91
5.4.00.0000.03716.91
5.3.290.0000.05316.91
5.3.280.0060.03416.91
5.3.270.0000.04416.91
5.3.260.0000.04516.91
5.3.250.0070.03116.91
5.3.240.0030.03616.91
5.3.230.0030.03416.91
5.3.220.0000.03816.91
5.3.210.0030.03716.91
5.3.200.0000.04116.91
5.3.190.0070.03616.91
5.3.180.0070.03216.91
5.3.170.0000.04316.91
5.3.160.0000.03816.91
5.3.150.0030.03416.91
5.3.140.0030.04016.91
5.3.130.0000.04516.91
5.3.120.0030.03616.91
5.3.110.0000.03916.91
5.3.100.0000.04116.91
5.3.90.0000.04016.91
5.3.80.0030.03316.91
5.3.70.0070.03016.91
5.3.60.0000.03716.91
5.3.50.0000.08016.91
5.3.40.0000.04016.91
5.3.30.0040.03516.91
5.3.20.0030.03716.91
5.3.10.0200.03116.91
5.3.00.0030.04016.91
5.2.170.0000.05216.91
5.2.160.0000.03816.91
5.2.150.0070.02516.91
5.2.140.0030.05116.91
5.2.130.0040.02916.91
5.2.120.0000.03116.91
5.2.110.0040.02916.91
5.2.100.0000.03116.91
5.2.90.0070.02316.91
5.2.80.0070.04716.91
5.2.70.0070.05716.91
5.2.60.0070.03416.91
5.2.50.0000.03116.91
5.2.40.0060.02516.91
5.2.30.0030.02816.91
5.2.20.0030.03516.91
5.2.10.0030.02616.91
5.2.00.0000.06316.91
5.1.60.0040.02516.91
5.1.50.0000.02616.91
5.1.40.0060.03816.91
5.1.30.0030.04116.91
5.1.20.0000.03816.91
5.1.10.0000.02616.91
5.1.00.0030.03216.91
5.0.50.0000.03216.91
5.0.40.0000.03016.91
5.0.30.0130.03216.91
5.0.20.0100.03016.91
5.0.10.0000.02316.91
5.0.00.0000.07016.91
4.4.90.0030.01316.91
4.4.80.0000.02216.91
4.4.70.0000.01716.91
4.4.60.0030.01316.91
4.4.50.0030.01316.91
4.4.40.0060.01916.91
4.4.30.0000.01616.91
4.4.20.0000.02916.91
4.4.10.0030.03316.91
4.4.00.0060.05216.91
4.3.110.0000.02416.91
4.3.100.0000.01616.91
4.3.90.0000.02316.91
4.3.80.0030.02916.91
4.3.70.0030.02116.91
4.3.60.0030.01916.91
4.3.50.0000.02316.91
4.3.40.0000.02616.91
4.3.30.0030.01616.91
4.3.20.0000.01916.91
4.3.10.0040.02916.91
4.3.00.0000.03716.91

preferences:
43.06 ms | 400 KiB | 5 Q