3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ThisAction extends Action { 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 Action 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.0170.00316.75
8.3.50.0070.01016.58
8.3.40.0150.00018.81
8.3.30.0110.00418.46
8.3.20.0040.00420.34
8.3.10.0080.00423.66
8.3.00.0040.00419.79
8.2.180.0060.01218.29
8.2.170.0070.01022.96
8.2.160.0100.00719.26
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00019.45
8.2.120.0080.00026.35
8.2.110.0030.00620.27
8.2.100.0040.00817.84
8.2.90.0040.00718.91
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0000.00817.93
8.2.50.0000.00818.10
8.2.40.0040.00420.39
8.2.30.0050.00219.07
8.2.20.0040.00418.05
8.2.10.0040.00418.04
8.2.00.0040.00417.92
8.1.280.0090.00925.92
8.1.270.0060.00324.02
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0070.00322.75
8.1.230.0070.00319.09
8.1.220.0020.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.47
8.1.160.0070.00018.94
8.1.150.0030.00618.80
8.1.140.0000.00719.43
8.1.130.0030.00518.88
8.1.120.0000.00717.38
8.1.110.0080.00017.24
8.1.100.0040.00417.31
8.1.90.0070.00017.41
8.1.80.0000.00717.42
8.1.70.0000.00717.42
8.1.60.0050.00217.57
8.1.50.0040.00417.33
8.1.40.0080.00017.49
8.1.30.0000.00817.59
8.1.20.0050.00217.60
8.1.10.0050.00217.46
8.1.00.0050.00317.45
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.39
8.0.270.0040.00417.29
8.0.260.0030.00316.94
8.0.250.0000.00717.03
8.0.240.0060.00316.99
8.0.230.0000.00716.96
8.0.220.0070.00016.94
8.0.210.0030.00316.95
8.0.200.0030.00316.91
8.0.190.0050.00316.99
8.0.180.0000.00816.90
8.0.170.0000.00716.87
8.0.160.0040.00416.84
8.0.150.0030.00516.85
8.0.140.0070.00016.92
8.0.130.0030.00313.35
8.0.120.0000.00716.87
8.0.110.0070.00016.84
8.0.100.0080.00016.94
8.0.90.0020.00516.86
8.0.80.0060.01216.93
8.0.70.0040.00416.89
8.0.60.0000.00716.84
8.0.50.0070.00017.00
8.0.30.0090.00917.02
8.0.20.0140.00717.40
8.0.10.0050.00317.02
8.0.00.0030.01916.75
7.4.330.0070.00015.55
7.4.320.0030.00316.37
7.4.300.0000.00616.36
7.4.290.0030.00316.50
7.4.280.0070.00016.53
7.4.270.0030.00316.54
7.4.260.0030.00716.51
7.4.250.0040.00416.41
7.4.240.0030.00316.46
7.4.230.0080.00016.43
7.4.220.0070.01116.43
7.4.210.0030.01216.45
7.4.200.0000.00716.51
7.4.160.0130.00716.51
7.4.150.0140.00317.40
7.4.140.0100.00717.86
7.4.130.0130.01016.57
7.4.120.0110.00716.53
7.4.110.0100.00716.36
7.4.100.0100.01416.33
7.4.90.0080.01116.55
7.4.80.0180.00619.39
7.4.70.0000.01616.43
7.4.60.0100.00716.48
7.4.50.0070.01016.52
7.4.40.0030.01216.48
7.4.30.0150.00416.35
7.4.10.0000.01915.05
7.4.00.0070.01114.80
7.3.330.0000.00513.38
7.3.320.0030.00313.11
7.3.310.0000.00716.16
7.3.300.0000.00716.26
7.3.290.0020.01216.32
7.3.280.0080.00916.29
7.3.270.0120.00617.40
7.3.260.0130.00616.53
7.3.250.0090.00716.40
7.3.240.0090.00916.54
7.3.230.0060.01216.35
7.3.210.0150.00416.38
7.3.200.0150.00316.32
7.3.190.0040.01316.26
7.3.180.0000.01916.60
7.3.170.0100.01016.45
7.3.160.0090.00616.33
7.3.130.0090.00614.98
7.3.120.0070.01114.93
7.3.110.0060.01314.91
7.3.100.0030.01014.89
7.3.90.0060.01015.01
7.3.80.0100.00014.88
7.3.70.0000.00814.68
7.3.60.0040.01114.64
7.3.50.0060.01014.77
7.3.40.0060.00314.84
7.3.30.0030.01314.68
7.3.20.0110.00416.60
7.3.10.0060.00516.50
7.3.00.0110.00516.44
7.2.330.0080.00916.39
7.2.320.0100.01316.52
7.2.310.0090.00916.32
7.2.300.0140.00916.54
7.2.290.0100.01016.52
7.2.260.0100.00314.84
7.2.250.0060.01114.81
7.2.240.0070.00714.76
7.2.230.0080.00615.09
7.2.220.0080.00814.87
7.2.210.0060.00614.85
7.2.200.0080.00315.04
7.2.190.0030.01214.72
7.2.180.0040.00714.75
7.2.170.0130.00314.66
7.2.160.0070.00715.00
7.2.150.0060.00616.93
7.2.140.0030.01016.47
7.2.130.0090.00716.66
7.2.120.0090.00516.59
7.2.110.0090.00716.55
7.2.100.0080.00616.68
7.2.90.0040.00916.83
7.2.80.0020.01316.61
7.2.70.0050.01016.62
7.2.60.0050.00716.70
7.2.50.0130.00316.58
7.2.40.0080.00816.70
7.2.30.0040.00616.71
7.2.20.0100.00816.58
7.2.10.0110.00316.67
7.2.00.0050.00917.36
7.1.330.0090.00315.50
7.1.320.0070.00815.29
7.1.310.0090.00015.43
7.1.300.0030.00615.55
7.1.290.0040.00815.40
7.1.280.0030.01315.50
7.1.270.0120.00315.40
7.1.260.0000.01015.31
7.1.250.0050.00815.63
7.1.240.0110.00415.42
7.1.230.0070.00415.55
7.1.220.0000.01315.41
7.1.210.0070.00715.71
7.1.200.0060.00615.37
7.1.190.0120.00315.68
7.1.180.0050.00315.32
7.1.170.0070.00715.61
7.1.160.0000.01115.65
7.1.150.0060.00915.72
7.1.140.0060.01015.63
7.1.130.0030.00815.66
7.1.120.0030.01315.72
7.1.110.0040.00415.46
7.1.100.0050.00916.88
7.1.90.0100.00315.85
7.1.80.0060.00615.77
7.1.70.0080.00716.22
7.1.60.0110.01025.36
7.1.50.0090.01225.21
7.1.40.0120.01024.92
7.1.30.0160.00425.01
7.1.20.0120.00725.13
7.1.10.0090.00515.91
7.1.00.0040.00716.08
7.0.330.0060.00615.09
7.0.320.0060.00315.23
7.0.310.0040.00415.22
7.0.300.0100.00315.18
7.0.290.0100.00615.25
7.0.280.0060.01115.33
7.0.270.0000.01415.42
7.0.260.0060.01015.48
7.0.250.0060.00615.21
7.0.240.0040.00415.41
7.0.230.0000.01415.04
7.0.220.0030.01015.43
7.0.210.0040.00715.07
7.0.200.0080.00415.98
7.0.190.0050.00815.83
7.0.180.0060.00815.56
7.0.170.0040.00915.57
7.0.160.0020.01215.74
7.0.150.0050.00615.69
7.0.140.0090.00515.74
7.0.130.0020.01015.75
7.0.120.0030.01015.87
7.0.110.0050.00815.86
7.0.100.0050.01015.74
7.0.90.0020.01215.70
7.0.80.0050.01015.88
7.0.70.0030.01415.80
7.0.60.0040.01115.77
7.0.50.0070.00815.74
7.0.40.0020.01014.83
7.0.30.0050.00814.91
7.0.20.0050.00614.74
7.0.10.0020.01014.84
7.0.00.0050.00914.67
5.6.400.0070.00714.19
5.6.390.0040.00714.18
5.6.380.0030.01014.26
5.6.370.0070.00713.98
5.6.360.0070.00714.16
5.6.350.0060.00314.06
5.6.340.0060.00314.18
5.6.330.0040.00714.23
5.6.320.0040.01114.13
5.6.310.0070.01014.20
5.6.300.0030.01214.38
5.6.290.0000.00814.22
5.6.280.0000.01613.91
5.6.270.0000.00814.06
5.6.260.0000.00914.14
5.6.250.0070.00714.07
5.6.240.0060.01014.28
5.6.230.0000.01414.26
5.6.220.0130.00314.30
5.6.210.0000.01414.13
5.6.200.0000.00914.19
5.6.190.0030.01014.46
5.6.180.0060.00914.36
5.6.170.0060.00314.13
5.6.160.0040.01214.18
5.6.150.0040.01114.28
5.6.140.0030.00614.11
5.6.130.0060.00814.10
5.6.120.0070.00314.26
5.6.110.0000.01013.99
5.6.100.0040.01114.09
5.6.90.0070.00713.98
5.6.80.0040.00713.80
5.6.70.0040.00814.27
5.6.60.0080.00414.24
5.6.50.0080.00413.76
5.6.40.0070.01013.95
5.6.30.0070.00713.89
5.6.20.0030.00714.00
5.6.10.0060.00914.06
5.6.00.0070.00714.15

preferences:
39.8 ms | 400 KiB | 5 Q