3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct() { $this->callMe('self::methodName'); } public function callMe(callable $callback) { call_user_func($callback); } public function methodName() {} } new Foo();

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.4.120.0120.00824.43
8.4.110.0090.00218.50
8.4.100.0080.00817.84
8.4.90.0110.00920.53
8.4.80.0100.00918.78
8.4.70.0090.01218.04
8.4.60.0160.00618.73
8.4.50.0090.00318.68
8.4.40.0170.00319.45
8.4.30.0130.00618.72
8.4.20.0090.00617.97
8.4.10.0140.00722.04
8.3.250.0130.00318.54
8.3.240.0080.00716.98
8.3.230.0090.00316.69
8.3.220.0030.00618.71
8.3.210.0050.00418.33
8.3.200.0050.00616.55
8.3.190.0120.00617.05
8.3.180.0070.01020.91
8.3.170.0070.01120.71
8.3.160.0070.01116.98
8.3.150.0100.01017.16
8.3.140.0070.00417.34
8.3.130.0090.00618.51
8.3.120.0070.00419.04
8.3.110.0180.00620.94
8.3.100.0080.00018.46
8.3.90.0080.00026.77
8.3.80.0030.00618.55
8.3.70.0090.00916.63
8.3.60.0130.00918.68
8.3.50.0110.00320.25
8.3.40.0130.00318.61
8.3.30.0100.00319.17
8.3.20.0070.00024.18
8.3.10.0050.00324.66
8.3.00.0090.00026.16
8.2.290.0090.00320.45
8.2.280.0130.00718.05
8.2.270.0160.00316.69
8.2.260.0080.00017.15
8.2.250.0070.00716.82
8.2.240.0090.00020.55
8.2.230.0120.00322.58
8.2.220.0100.00024.06
8.2.210.0100.00326.77
8.2.200.0060.00316.63
8.2.190.0100.00516.58
8.2.180.0180.00325.92
8.2.170.0210.00018.90
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00719.83
8.2.110.0110.00022.08
8.2.100.0080.00417.74
8.2.90.0000.00817.91
8.2.80.0000.00819.01
8.2.70.0040.00417.68
8.2.60.0000.00717.91
8.2.50.0000.00918.10
8.2.40.0070.00018.22
8.2.30.0050.00217.92
8.2.20.0000.00820.30
8.2.10.0040.00418.09
8.2.00.0060.00319.09
8.1.330.0130.00622.02
8.1.320.0120.00615.96
8.1.310.0040.00416.82
8.1.300.0130.00717.73
8.1.290.0030.00630.84
8.1.280.0100.01025.92
8.1.270.0030.00620.65
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00823.79
8.1.230.0080.00322.75
8.1.220.0000.00817.74
8.1.210.0060.00618.77
8.1.200.0060.00317.23
8.1.190.0000.00817.41
8.1.180.0000.00818.10
8.1.170.0040.00418.44
8.1.160.0000.00918.74
8.1.150.0020.00518.41
8.1.140.0000.00717.36
8.1.130.0030.00318.75
8.1.120.0040.00617.23
8.1.110.0020.00617.26
8.1.100.0070.00017.21
8.1.90.0040.00417.21
8.1.80.0000.00817.34
8.1.70.0080.00017.32
8.1.60.0050.00717.48
8.1.50.0160.00017.34
8.1.40.0040.00817.39
8.1.30.0130.00317.61
8.1.20.0030.00817.61
8.1.10.0050.00517.42
8.1.00.0050.00517.39
8.0.300.0080.00020.15
8.0.290.0030.00616.63
8.0.280.0070.00018.43
8.0.270.0050.00316.80
8.0.260.0040.00418.29
8.0.250.0030.00316.84
8.0.240.0090.00116.88
8.0.230.0060.00016.98
8.0.220.0000.00716.87
8.0.210.0040.00416.92
8.0.200.0030.00616.81
8.0.190.0030.00516.87
8.0.180.0060.00616.85
8.0.170.0060.00616.93
8.0.160.0060.00316.87
8.0.150.0030.00616.70
8.0.140.0000.00816.79
8.0.130.0080.00416.88
8.0.120.0050.00516.73
8.0.110.0000.00716.80
8.0.100.0000.00716.62
8.0.90.0080.00016.73
8.0.80.0040.00416.79
8.0.70.0040.00416.84
8.0.60.0000.00816.86
8.0.50.0100.00316.85
8.0.30.0180.00316.76
8.0.20.0050.01616.94
8.0.10.0120.00316.86
7.4.330.0000.00615.55
7.4.320.0060.00016.48
7.4.300.0000.00716.60
7.4.290.0070.00216.48
7.4.280.0100.00716.49
7.4.270.0190.00016.61
7.4.260.0100.01016.47
7.4.250.0180.00416.49
7.4.240.0100.01016.46
7.4.230.0130.00916.48
7.4.220.0190.00016.53
7.4.210.0090.00316.46
7.4.200.0080.00916.46
7.4.190.0080.00416.63
7.4.180.0120.00316.60
7.4.160.0130.00316.49
7.4.150.0050.00916.39
7.4.140.0100.00516.27
7.4.130.0060.00616.32
7.4.120.0100.00516.29
7.4.110.0090.00916.29
7.4.100.0150.00416.32
7.4.90.0000.01016.34
7.4.80.0120.00616.23
7.4.70.0100.00216.40
7.4.60.0050.00516.38
7.4.50.0140.00316.27
7.4.40.0140.00416.22
7.4.30.0190.00016.29
7.4.20.0160.00416.40
7.4.10.0190.00016.30
7.4.00.0160.00416.23

preferences:
26.79 ms | 403 KiB | 5 Q