3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Actions implements Action_Interface { protected $action_type; public function __construct() { $this->testing_stuff(); $this->testing_more_stuff(); } abstract function testing_more_stuff(); } interface Action_Interface { function testing_stuff(); } class ThisAction extends Actions { protected $action_type = 'testing'; private function testing_more_stuff() { echo "more stuff"; } private function testing_stuff() { echo "just some {$this->action_type} stuff\n"; } } $blah = new ThisAction;

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.00616.50
8.3.50.0070.01016.37
8.3.40.0000.01518.70
8.3.30.0070.00718.41
8.3.20.0020.00520.26
8.3.10.0100.00021.75
8.3.00.0030.00619.52
8.2.180.0110.00716.50
8.2.170.0100.01022.96
8.2.160.0110.00419.07
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0000.00819.05
8.2.120.0080.00026.35
8.2.110.0000.00920.55
8.2.100.0110.00017.72
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0090.00017.80
8.2.50.0000.00818.10
8.2.40.0040.00420.64
8.2.30.0000.00819.18
8.2.20.0000.00717.87
8.2.10.0050.00217.98
8.2.00.0000.00817.98
8.1.280.0100.00725.92
8.1.270.0090.00622.24
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00622.65
8.1.230.0000.01119.16
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0090.00017.23
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00918.57
8.1.160.0040.00418.90
8.1.150.0000.00920.61
8.1.140.0070.00019.43
8.1.130.0060.00318.86
8.1.120.0000.00717.30
8.1.110.0030.00617.27
8.1.100.0030.00517.38
8.1.90.0000.00717.41
8.1.80.0000.00817.39
8.1.70.0040.00417.43
8.1.60.0030.00617.52
8.1.50.0040.00417.43
8.1.40.0070.00017.42
8.1.30.0060.00317.43
8.1.20.0040.00417.50
8.1.10.0000.00717.42
8.1.00.0000.00817.26
8.0.300.0050.00218.77
8.0.290.0090.00016.58
8.0.280.0000.00718.50
8.0.270.0030.00317.12
8.0.260.0070.00016.87
8.0.250.0030.00316.87
8.0.240.0060.00316.98
8.0.230.0030.00316.87
8.0.220.0030.00316.95
8.0.210.0030.00316.88
8.0.200.0030.00316.85
8.0.190.0060.00316.91
8.0.180.0040.00416.94
8.0.170.0040.00416.85
8.0.160.0080.00016.93
8.0.150.0070.00016.82
8.0.140.0000.00816.79
8.0.130.0050.00013.32
8.0.120.0030.00616.86
8.0.110.0080.00016.83
8.0.100.0040.00416.76
8.0.90.0030.00516.86
8.0.80.0030.01316.89
8.0.70.0050.00216.77
8.0.60.0070.00016.94
8.0.50.0020.00516.87
8.0.30.0090.00717.05
8.0.20.0130.00817.40
8.0.10.0000.00716.98
8.0.00.0160.00316.66
7.4.330.0030.00315.55
7.4.320.0060.00016.54
7.4.300.0030.00316.55
7.4.290.0000.00816.46
7.4.280.0040.00416.55
7.4.270.0000.00816.56
7.4.260.0030.00816.50
7.4.250.0030.00316.42
7.4.240.0020.00516.57
7.4.230.0030.00316.57
7.4.220.0180.00916.37
7.4.210.0040.01116.39
7.4.200.0040.00416.57
7.4.160.0080.00816.50
7.4.150.0070.01017.40
7.4.140.0110.00817.86
7.4.130.0140.00716.38
7.4.120.0100.01016.42
7.4.110.0140.00316.46
7.4.100.0110.00716.54
7.4.90.0100.00616.68
7.4.80.0120.00619.39
7.4.70.0110.01116.34
7.4.60.0070.01016.44
7.4.50.0090.00616.68
7.4.40.0070.01016.09
7.4.30.0070.01016.53
7.4.00.0040.01415.18
7.3.330.0020.00213.16
7.3.320.0000.00513.16
7.3.310.0030.00316.20
7.3.300.0070.00016.32
7.3.290.0060.01116.35
7.3.280.0080.00816.31
7.3.270.0070.01117.40
7.3.260.0050.01216.40
7.3.250.0070.01216.27
7.3.240.0070.01216.28
7.3.230.0190.00616.46
7.3.210.0110.00616.37
7.3.200.0080.00916.31
7.3.190.0140.00316.52
7.3.180.0090.01216.56
7.3.170.0090.00616.43
7.3.160.0080.00816.44
7.3.120.0000.01414.82
7.3.110.0090.00614.71
7.3.100.0030.01314.83
7.3.90.0030.01414.75
7.3.80.0080.00514.68
7.3.70.0060.00614.90
7.3.60.0070.00714.87
7.3.50.0030.01014.77
7.3.40.0100.00614.71
7.3.30.0030.00914.86
7.3.20.0060.00616.65
7.3.10.0030.01316.64
7.3.00.0080.00816.46
7.2.330.0110.01116.52
7.2.320.0060.01016.65
7.2.310.0000.01716.67
7.2.300.0060.01516.35
7.2.290.0070.01016.35
7.2.240.0150.00315.05
7.2.230.0070.00414.81
7.2.220.0110.00415.09
7.2.210.0000.01514.88
7.2.200.0060.00914.76
7.2.190.0000.01614.98
7.2.180.0100.00614.82
7.2.170.0070.01014.77
7.2.160.0060.01014.86
7.2.150.0070.01016.41
7.2.140.0030.01216.61
7.2.130.0060.00316.54
7.2.120.0060.00616.81
7.2.110.0000.01116.57
7.2.100.0090.00616.70
7.2.90.0120.00316.65
7.2.80.0000.01216.96
7.2.70.0120.00316.85
7.2.60.0050.00616.57
7.2.50.0100.00716.59
7.2.40.0000.01816.68
7.2.30.0060.01016.86
7.2.20.0030.01416.88
7.2.10.0060.00916.50
7.2.00.0050.01017.97
7.1.330.0000.01615.66
7.1.320.0030.00715.64
7.1.310.0000.01115.56
7.1.300.0110.00415.61
7.1.290.0100.00015.68
7.1.280.0070.00715.56
7.1.270.0070.01015.57
7.1.260.0030.01015.71
7.1.250.0040.00715.55
7.1.200.0050.00215.38
7.1.100.0040.00818.16
7.1.70.0030.01017.19
7.1.60.0220.00634.96
7.1.50.0140.01434.67
7.1.40.0230.00634.06
7.1.30.0170.01034.23
7.1.20.0160.01334.45
7.1.10.0070.00716.51
7.1.00.0060.00616.48
7.0.200.0030.01016.81
7.0.190.0100.00316.54
7.0.180.0000.01616.10
7.0.170.0180.01114.49
7.0.160.0040.01116.04
7.0.150.0070.00716.28
7.0.140.0100.00516.04
7.0.130.0070.00716.35
7.0.120.0070.00716.52
7.0.110.0080.00816.09
7.0.100.0090.00616.31
7.0.90.0000.01616.41
7.0.80.0260.00614.34
7.0.70.0030.01016.07
7.0.60.0060.00616.14
7.0.50.0060.00816.33
7.0.40.0030.01116.62
7.0.30.0000.01316.36
7.0.20.0110.00416.55
7.0.10.0110.00416.24
7.0.00.0030.01016.44

preferences:
40.76 ms | 401 KiB | 5 Q