3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface Runnable { public function run(): ?stdClass; } class ImplementorRunnable implements Runnable { public function run(): never { throw new \Exception('test'); } } (new ImplementorRunnable())->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.5.30.0120.00519.07
8.5.20.0110.00619.61
8.5.10.0110.00616.83
8.5.00.0120.00919.92
8.4.180.0150.00621.93
8.4.170.0060.00423.79
8.4.160.0090.00921.66
8.4.150.0050.00316.94
8.4.140.0100.01217.32
8.4.130.0150.00817.98
8.4.120.0060.00420.63
8.4.110.0130.00722.14
8.4.100.0100.01117.64
8.4.90.0100.01118.76
8.4.80.0080.00417.69
8.4.70.0110.00717.89
8.4.60.0070.00218.96
8.4.50.0120.00317.92
8.4.40.0060.01217.83
8.4.30.0030.01720.27
8.4.20.0100.01018.13
8.4.10.0130.00619.41
8.3.300.0120.00820.78
8.3.290.0060.00320.72
8.3.280.0100.01018.47
8.3.270.0120.00816.62
8.3.260.0130.00716.43
8.3.250.0060.00218.92
8.3.240.0120.00616.61
8.3.230.0090.01016.43
8.3.220.0120.00717.07
8.3.210.0070.01016.89
8.3.200.0040.00416.74
8.3.190.0140.00717.16
8.3.180.0140.00416.78
8.3.170.0000.00819.01
8.3.160.0090.00918.60
8.3.150.0070.01120.65
8.3.140.0090.00916.61
8.3.130.0090.00618.32
8.3.120.0060.00318.95
8.3.110.0140.00716.78
8.3.100.0050.00316.79
8.3.90.0110.00726.77
8.3.80.0070.00320.36
8.3.70.0100.00616.88
8.3.60.0090.00616.75
8.3.50.0120.00918.31
8.3.40.0150.00018.63
8.3.30.0070.01318.84
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.300.0120.00820.18
8.2.290.0100.00920.20
8.2.280.0120.00620.02
8.2.270.0100.00717.44
8.2.260.0000.01419.02
8.2.250.0090.00618.52
8.2.240.0050.00518.37
8.2.230.0140.00720.94
8.2.220.0000.01424.06
8.2.210.0120.00326.77
8.2.200.0060.00316.63
8.2.190.0110.00316.58
8.2.180.0070.00725.92
8.2.170.0100.00718.88
8.2.160.0030.01022.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00426.16
8.2.110.0100.00020.89
8.2.100.0070.00417.84
8.2.90.0000.00819.76
8.2.80.0030.00617.97
8.2.70.0040.00417.93
8.2.60.0040.00417.93
8.2.50.0050.00518.10
8.2.40.0040.00419.89
8.2.30.0000.00817.68
8.2.20.0040.00420.68
8.2.10.0040.00417.80
8.2.00.0030.00619.21
8.1.340.0100.01021.36
8.1.330.0100.01020.14
8.1.320.0060.01318.23
8.1.310.0090.00616.77
8.1.300.0040.00416.25
8.1.290.0090.00330.84
8.1.280.0000.01425.92
8.1.270.0040.00423.99
8.1.260.0070.00726.35
8.1.250.0060.00328.09
8.1.240.0050.00520.89
8.1.230.0080.00420.88
8.1.220.0050.00317.78
8.1.210.0030.00618.77
8.1.200.0000.00917.13
8.1.190.0000.00817.41
8.1.180.0080.00018.10
8.1.170.0040.00418.65
8.1.160.0040.00418.85
8.1.150.0000.00718.47
8.1.140.0050.00317.37
8.1.130.0000.00718.70
8.1.120.0050.00317.28
8.1.110.0040.00417.38
8.1.100.0030.00717.25
8.1.90.0040.00417.27
8.1.80.0080.00017.40
8.1.70.0030.00317.26
8.1.60.0040.00417.43
8.1.50.0100.00017.45
8.1.40.0040.00417.44
8.1.30.0000.00917.54
8.1.20.0030.00617.59
8.1.10.0070.00017.37
8.1.00.0000.00817.39
8.0.300.0030.00320.18
8.0.290.0000.00816.63
8.0.280.0030.00318.29
8.0.270.0000.00716.77
8.0.260.0030.00318.37
8.0.250.0000.00716.98
8.0.240.0030.00316.89
8.0.230.0050.00216.97
8.0.220.0040.00416.86
8.0.210.0030.00516.85
8.0.200.0030.00316.96
8.0.190.0080.00016.96
8.0.180.0000.00816.88
8.0.170.0040.00416.94
8.0.160.0000.00816.87
8.0.150.0000.00816.71
8.0.140.0040.00416.74
8.0.130.0150.00416.70
8.0.120.0140.00416.70
8.0.110.0140.00416.88
8.0.100.0100.01016.86
8.0.90.0180.00016.80
8.0.80.0180.00016.84
8.0.70.0160.00316.81
8.0.60.0150.00316.84
8.0.50.0100.00816.73
8.0.30.0130.00516.69
8.0.20.0140.00616.77
8.0.10.0160.00216.78
8.0.00.0000.01016.90
7.4.330.0060.00015.55
7.4.320.0030.00516.44
7.4.300.0000.00916.38
7.4.290.0030.00316.48
7.4.280.0040.00416.43
7.4.270.0030.00316.43
7.4.260.0160.00416.49
7.4.250.0130.00916.38
7.4.240.0180.00416.26
7.4.230.0140.00316.46
7.4.220.0100.01016.33
7.4.210.0180.00016.32
7.4.200.0170.00316.37
7.4.190.0130.00616.50
7.4.180.0160.00316.39
7.4.160.0160.00216.44
7.4.150.0110.00816.28
7.4.140.0150.00316.23
7.4.130.0120.00616.16
7.4.120.0130.00616.34
7.4.110.0160.00316.18
7.4.100.0180.00016.28
7.4.90.0150.00316.37
7.4.80.0140.00616.26
7.4.70.0110.00816.32
7.4.60.0170.00316.35
7.4.50.0170.00316.15
7.4.40.0120.00816.12
7.4.30.0150.00416.14
7.4.20.0150.00416.23
7.4.10.0140.00516.18
7.4.00.0130.00316.22
7.3.330.0070.00716.14
7.3.320.0160.00016.11
7.3.310.0150.00416.04
7.3.300.0150.00416.14
7.3.290.0080.00815.96
7.3.280.0090.00515.99
7.3.270.0100.00516.05
7.3.260.0050.00516.28
7.3.250.0070.00516.19
7.3.240.0100.00016.15
7.3.230.0100.00016.19
7.3.220.0080.00816.14
7.3.210.0060.00615.82
7.3.200.0110.00415.77
7.3.190.0040.00816.14
7.3.180.0090.00515.95
7.3.170.0060.00915.76
7.3.160.0070.00716.18
7.3.150.0140.00516.07
7.3.140.0080.00216.14
7.3.130.0090.00315.90
7.3.120.0000.01016.03
7.3.110.0070.00415.76
7.3.100.0030.00716.06
7.3.90.0080.00516.37
7.3.80.0080.00316.02
7.3.70.0080.00416.07
7.3.60.0030.00616.08
7.3.50.0040.00416.28
7.3.40.0070.00416.11
7.3.30.0060.00316.11
7.3.20.0070.00418.21
7.3.10.0100.00018.05
7.3.00.0120.00017.98

preferences:
93.74 ms | 1412 KiB | 5 Q