3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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"; } } 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(); } $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.0180.00316.75
8.3.50.0110.00616.39
8.3.40.0090.00619.02
8.3.30.0030.01218.82
8.3.20.0070.00320.13
8.3.10.0100.00321.89
8.3.00.0040.00419.56
8.2.180.0240.00516.63
8.2.170.0120.00322.96
8.2.160.0000.01519.09
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00420.94
8.2.120.0000.00726.35
8.2.110.0070.00420.91
8.2.100.0090.00317.97
8.2.90.0060.00318.98
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0000.00817.93
8.2.50.0080.00018.10
8.2.40.0070.00020.53
8.2.30.0050.00319.16
8.2.20.0000.00817.93
8.2.10.0070.00018.16
8.2.00.0070.00018.00
8.1.280.0070.01525.92
8.1.270.0000.00822.20
8.1.260.0000.00826.35
8.1.250.0020.00528.09
8.1.240.0040.00424.02
8.1.230.0070.00417.83
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.11
8.1.180.0000.00918.10
8.1.170.0080.00018.61
8.1.160.0070.00018.98
8.1.150.0050.00518.81
8.1.140.0000.00719.50
8.1.130.0030.00317.29
8.1.120.0080.00017.30
8.1.110.0060.00317.34
8.1.100.0050.00217.31
8.1.90.0040.00417.43
8.1.80.0040.00417.43
8.1.70.0030.00317.32
8.1.60.0040.00417.57
8.1.50.0030.00517.45
8.1.40.0040.00417.34
8.1.30.0060.00317.60
8.1.20.0040.00417.59
8.1.10.0000.00717.53
8.1.00.0000.00817.45
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.44
8.0.270.0070.00017.21
8.0.260.0030.00616.82
8.0.250.0070.00016.95
8.0.240.0030.00617.03
8.0.230.0000.00717.09
8.0.220.0000.00716.86
8.0.210.0000.00716.84
8.0.200.0030.00317.04
8.0.190.0030.00516.91
8.0.180.0040.00416.94
8.0.170.0000.00716.91
8.0.160.0030.00317.07
8.0.150.0040.00416.88
8.0.140.0050.00316.80
8.0.130.0000.00513.31
8.0.120.0050.00316.86
8.0.110.0030.00516.93
8.0.100.0030.00616.85
8.0.90.0040.00416.84
8.0.80.0100.01416.91
8.0.70.0070.00016.80
8.0.60.0030.00316.98
8.0.50.0070.00016.92
8.0.30.0120.00717.05
8.0.20.0110.00817.40
8.0.10.0000.00716.86
8.0.00.0120.00916.86
7.4.330.0050.00315.55
7.4.320.0060.00016.45
7.4.300.0060.00016.52
7.4.290.0000.00716.54
7.4.280.0050.00216.48
7.4.270.0050.00316.54
7.4.260.0030.00316.51
7.4.250.0070.00016.38
7.4.240.0000.00716.37
7.4.230.0070.00016.60
7.4.220.0130.01316.56
7.4.210.0070.01116.52
7.4.200.0080.00016.32
7.4.160.0080.00916.38
7.4.150.0120.00617.40
7.4.140.0110.00917.86
7.4.130.0150.00316.48
7.4.120.0080.01316.44
7.4.110.0060.01016.59
7.4.100.0100.01016.65
7.4.90.0100.00716.63
7.4.80.0070.01119.39
7.4.70.0100.00716.55
7.4.60.0110.00516.56
7.4.50.0060.01216.53
7.4.40.0060.01016.35
7.4.30.0050.02016.21
7.4.10.0060.00914.91
7.4.00.0080.00915.02
7.3.330.0020.00213.26
7.3.320.0050.00013.14
7.3.310.0000.00716.38
7.3.300.0000.00616.16
7.3.290.0070.00716.25
7.3.280.0070.00916.29
7.3.270.0120.00917.40
7.3.260.0130.00516.30
7.3.250.0110.00616.36
7.3.240.0050.01216.34
7.3.230.0130.01016.44
7.3.210.0090.00616.22
7.3.200.0030.01416.39
7.3.190.0030.02016.50
7.3.180.0070.01016.49
7.3.170.0090.01216.38
7.3.160.0120.00416.45
7.3.130.0110.00714.46
7.3.120.0060.01314.51
7.3.110.0110.00714.93
7.3.100.0000.01014.97
7.3.90.0090.00614.86
7.3.80.0030.01614.85
7.3.70.0030.01014.61
7.3.60.0060.00614.64
7.3.50.0000.01414.89
7.3.40.0070.00714.78
7.3.30.0030.01014.87
7.3.20.0090.00616.76
7.3.10.0040.01116.45
7.3.00.0060.00916.87
7.2.330.0090.00916.58
7.2.320.0100.01316.52
7.2.310.0060.01216.36
7.2.300.0140.00516.52
7.2.290.0000.01816.51
7.2.260.0110.00714.53
7.2.250.0060.01314.98
7.2.240.0100.00314.91
7.2.230.0060.00915.18
7.2.220.0070.01115.18
7.2.210.0060.00615.09
7.2.200.0070.00714.59
7.2.190.0000.01414.89
7.2.180.0060.00914.90
7.2.170.0000.01515.09
7.2.160.0050.00514.99
7.2.150.0000.01516.66
7.2.140.0060.00916.75
7.2.130.0090.00616.77
7.2.120.0060.00916.80
7.2.110.0060.00616.63
7.2.100.0060.00616.98
7.2.90.0030.00916.67
7.2.80.0060.00616.89
7.2.70.0060.00316.54
7.2.60.0020.01216.81
7.2.50.0090.00316.66
7.2.40.0040.01416.69
7.2.30.0040.00716.87
7.2.20.0030.00916.68
7.2.10.0000.01016.49
7.2.00.0020.01317.98
7.1.330.0090.00615.54
7.1.320.0100.00715.73
7.1.310.0100.00315.54
7.1.300.0100.00715.64
7.1.290.0090.00315.64
7.1.280.0060.00615.45
7.1.270.0000.01415.66
7.1.260.0060.00915.64
7.1.250.0070.00315.52
7.1.240.0030.00915.80
7.1.230.0000.01015.47
7.1.220.0080.00415.73
7.1.210.0100.00315.64
7.1.200.0030.01015.63
7.1.190.0070.00715.44
7.1.180.0070.01115.59
7.1.170.0030.00715.51
7.1.160.0110.00415.62
7.1.150.0060.00315.59
7.1.140.0030.01015.61
7.1.130.0080.00415.85
7.1.120.0040.01115.45
7.1.110.0030.01015.61
7.1.100.0030.00616.88
7.1.90.0080.00315.45
7.1.80.0070.00415.50
7.1.70.0060.00516.20
7.1.60.0190.00825.31
7.1.50.0180.00825.16
7.1.40.0120.01025.09
7.1.30.0130.00825.04
7.1.20.0130.00624.85
7.1.10.0000.01216.13
7.1.00.0050.00716.06
7.0.330.0000.01515.23
7.0.320.0070.00715.23
7.0.310.0100.00015.44
7.0.300.0070.00715.31
7.0.290.0100.00315.21
7.0.280.0070.00315.27
7.0.270.0070.00315.38
7.0.260.0090.00915.24
7.0.250.0030.00615.51
7.0.240.0030.00715.29
7.0.230.0040.00715.18
7.0.220.0060.00615.08
7.0.210.0030.00615.34
7.0.200.0050.00816.05
7.0.190.0120.01415.96
7.0.180.0050.00915.58
7.0.170.0020.01215.73
7.0.160.0050.00915.66
7.0.150.0090.00415.60
7.0.140.0040.00715.72
7.0.130.0050.00815.88
7.0.120.0070.00715.78
7.0.110.0090.00515.68
7.0.100.0070.00715.66
7.0.90.0090.00515.72
7.0.80.0060.00715.61
7.0.70.0050.00815.53
7.0.60.0030.00915.47
7.0.50.0060.00715.90
7.0.40.0070.00614.61
7.0.30.0090.00514.92
7.0.20.0030.01014.69
7.0.10.0080.00314.76
7.0.00.0030.00914.88
5.6.400.0030.01014.23
5.6.390.0030.00714.41
5.6.380.0030.01314.40
5.6.370.0080.00414.20
5.6.360.0040.00414.44
5.6.350.0060.00614.13
5.6.340.0070.00714.36
5.6.330.0000.01214.36
5.6.320.0040.00814.27
5.6.310.0000.01314.42
5.6.300.0060.00913.79
5.6.290.0070.01014.40
5.6.280.0080.00414.31
5.6.270.0060.00914.25
5.6.260.0040.00714.46
5.6.250.0030.01114.53
5.6.240.0060.00914.24
5.6.230.0030.01014.48
5.6.220.0030.01014.07
5.6.210.0030.01014.20
5.6.200.0110.00314.02
5.6.190.0070.00714.13
5.6.180.0070.00313.97
5.6.170.0110.00314.39
5.6.160.0060.00913.93
5.6.150.0030.01014.17
5.6.140.0080.00814.05
5.6.130.0040.01114.55
5.6.120.0070.00714.30
5.6.110.0030.01314.13
5.6.100.0090.00614.45
5.6.90.0040.01114.29
5.6.80.0030.01014.20
5.6.70.0040.00714.07
5.6.60.0030.00714.38
5.6.50.0070.00714.21
5.6.40.0050.00314.02
5.6.30.0030.01314.01
5.6.20.0040.00814.00
5.6.10.0080.00014.15
5.6.00.0030.01014.16

preferences:
69.67 ms | 401 KiB | 5 Q