3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function run() { print "RUN" . PHP_EOL; } } class B { public function executor(callable $callable) { call_user_func($callable); } } (new B())->executor([new A, 'run']);

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.0160.00616.48
8.3.50.0040.01116.39
8.3.40.0150.00018.68
8.3.30.0140.00018.69
8.3.20.0110.00420.25
8.3.10.0080.00020.82
8.3.00.0080.00018.92
8.2.180.0060.01216.63
8.2.170.0120.00622.96
8.2.160.0070.00720.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00421.05
8.2.120.0000.00726.35
8.2.110.0070.00321.04
8.2.100.0000.01217.66
8.2.90.0080.00019.08
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0000.00720.39
8.2.30.0040.00419.18
8.2.20.0030.00517.98
8.2.10.0000.00817.97
8.2.00.0000.00817.86
8.1.280.0090.00925.92
8.1.270.0000.00823.97
8.1.260.0120.00326.35
8.1.250.0000.00828.09
8.1.240.0100.00022.68
8.1.230.0070.00320.39
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0030.00718.10
8.1.170.0060.00318.70
8.1.160.0000.00818.73
8.1.150.0040.00420.17
8.1.140.0050.00219.54
8.1.130.0040.00418.74
8.1.120.0070.00017.30
8.1.110.0050.00217.34
8.1.100.0040.00417.35
8.1.90.0000.00717.39
8.1.80.0000.00817.41
8.1.70.0030.00317.36
8.1.60.0000.00817.42
8.1.50.0080.00017.47
8.1.40.0030.00617.48
8.1.30.0040.00417.63
8.1.20.0040.00417.63
8.1.10.0000.00717.37
8.1.00.0050.00217.48
8.0.300.0050.00218.77
8.0.290.0000.00816.63
8.0.280.0040.00418.47
8.0.270.0030.00317.25
8.0.260.0030.00318.45
8.0.250.0040.00417.01
8.0.240.0040.00417.05
8.0.230.0030.00316.97
8.0.220.0000.00916.87
8.0.210.0070.00016.91
8.0.200.0070.00017.03
8.0.190.0040.00417.09
8.0.180.0070.00016.96
8.0.170.0040.00416.82
8.0.160.0040.00416.98
8.0.150.0080.00416.94
8.0.140.0000.00716.93
8.0.130.0000.00613.44
8.0.120.0040.00416.88
8.0.110.0000.00716.79
8.0.100.0040.00417.01
8.0.90.0070.00016.86
8.0.80.0070.00717.01
8.0.70.0040.00416.83
8.0.60.0080.00016.77
8.0.50.0070.00016.80
8.0.30.0100.00917.02
8.0.20.0090.01117.40
8.0.10.0050.00217.07
8.0.00.0100.01016.57
7.4.330.0030.00315.55
7.4.320.0000.00816.62
7.4.300.0050.00216.55
7.4.290.0000.00616.51
7.4.280.0080.00016.58
7.4.270.0060.00316.61
7.4.260.0070.00016.50
7.4.250.0050.00216.50
7.4.240.0070.00016.61
7.4.230.0030.00316.39
7.4.220.0120.00616.40
7.4.210.0070.00916.61
7.4.200.0050.00316.71
7.4.160.0080.00916.42
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0120.00616.34
7.4.120.0160.00616.49
7.4.110.0070.01016.61
7.4.100.0040.01416.68
7.4.90.0070.01016.44
7.4.80.0090.00919.39
7.4.70.0060.01216.73
7.4.60.0070.01016.52
7.4.50.0070.01016.36
7.4.40.0070.01016.58
7.4.30.0090.00716.55
7.4.00.0100.00314.83
7.3.330.0030.00313.12
7.3.320.0030.00313.15
7.3.310.0040.00416.26
7.3.300.0030.00316.18
7.3.290.0040.00416.17
7.3.280.0080.00916.28
7.3.270.0000.01717.40
7.3.260.0030.01316.48
7.3.250.0120.00516.34
7.3.240.0090.00716.52
7.3.230.0080.00816.30
7.3.210.0110.00616.64
7.3.200.0140.00416.53
7.3.190.0030.01316.52
7.3.180.0040.01816.38
7.3.170.0090.00616.38
7.3.160.0140.00716.37
7.2.330.0190.00616.40
7.2.320.0130.01016.60
7.2.310.0030.01316.48
7.2.300.0090.00916.69
7.2.290.0070.01016.79
7.2.60.0110.00316.89
7.1.200.0120.00015.50
7.1.90.0090.00317.91
7.1.80.0030.00918.02
7.1.70.0080.00417.16
7.1.60.0070.01934.90
7.1.50.0110.01434.73
7.1.40.0140.01134.33
7.1.30.0110.01434.36
7.1.20.0190.00634.37
7.1.10.0030.01016.55
7.1.00.0000.01216.49
7.0.230.0030.00917.67
7.0.220.0040.00817.57
7.0.210.0080.00416.45
7.0.200.0060.00616.79
7.0.190.0080.00416.76
7.0.180.0040.00816.08
7.0.170.0060.00616.14
7.0.160.0050.00516.10
7.0.150.0090.00316.07
7.0.140.0090.00316.12
7.0.130.0060.00616.42
7.0.120.0060.00616.42
7.0.110.0060.00616.11
7.0.100.0040.00816.29
7.0.90.0000.01216.24
7.0.80.0030.01516.17
7.0.70.0030.00916.42
7.0.60.0040.00815.91
7.0.50.0090.00316.27
7.0.40.0070.01016.28
7.0.30.0130.00316.43
7.0.20.0060.00616.51
7.0.10.0040.00816.06
7.0.00.0060.00616.19

preferences:
73.85 ms | 400 KiB | 5 Q