3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ $a = new class { public function func():self{return "";} }; $res = $a->func(); var_dump($res); }catch(Throwble $ex){ echo $ex->getMessage(); }

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.0110.00316.50
8.3.50.0130.00822.05
8.3.40.0110.00418.53
8.3.30.0110.00718.84
8.3.20.0050.00320.41
8.3.10.0050.00323.66
8.3.00.0060.00319.38
8.2.180.0100.01016.38
8.2.170.0070.00722.96
8.2.160.0110.00320.32
8.2.150.0070.00724.18
8.2.140.0070.00024.66
8.2.130.0050.00317.75
8.2.120.0080.00026.35
8.2.110.0030.00621.04
8.2.100.0070.00417.72
8.2.90.0000.00818.15
8.2.80.0090.00017.97
8.2.70.0030.00617.63
8.2.60.0000.00917.93
8.2.50.0000.00818.07
8.2.40.0040.00419.28
8.2.30.0070.00320.65
8.2.20.0000.00917.67
8.2.10.0060.00318.03
8.2.00.0000.00818.15
8.1.280.0060.00925.92
8.1.270.0090.00023.87
8.1.260.0040.00428.09
8.1.250.0030.00628.09
8.1.240.0070.00322.52
8.1.230.0110.00020.91
8.1.220.0050.00317.74
8.1.210.0040.00418.85
8.1.200.0090.00017.47
8.1.190.0050.00217.57
8.1.180.0030.00518.10
8.1.170.0060.00318.37
8.1.160.0000.00722.06
8.1.150.0040.00418.85
8.1.140.0000.00919.58
8.1.130.0050.00317.76
8.1.120.0050.00317.46
8.1.110.0000.00717.41
8.1.100.0080.00017.45
8.1.90.0000.00717.41
8.1.80.0040.00417.35
8.1.70.0000.00717.40
8.1.60.0040.00417.50
8.1.50.0080.00017.58
8.1.40.0040.00417.41
8.1.30.0000.00817.66
8.1.20.0050.00217.55
8.1.10.0000.00717.54
8.1.00.0000.00717.39
8.0.300.0050.00320.04
8.0.290.0000.00816.88
8.0.280.0070.00018.36
8.0.270.0070.00017.16
8.0.260.0030.00317.20
8.0.250.0060.00016.93
8.0.240.0000.00716.95
8.0.230.0030.00316.99
8.0.220.0030.00316.98
8.0.210.0070.00016.80
8.0.200.0000.00817.01
8.0.190.0030.00516.94
8.0.180.0040.00417.04
8.0.170.0000.00716.88
8.0.160.0000.00717.06
8.0.150.0000.00716.86
8.0.140.0070.00016.98
8.0.130.0030.00313.29
8.0.120.0000.00916.83
8.0.110.0070.00017.02
8.0.100.0030.00516.95
8.0.90.0040.00416.93
8.0.80.0100.01016.99
8.0.70.0080.00016.89
8.0.60.0000.00816.85
8.0.50.0040.00416.82
8.0.30.0120.00517.21
8.0.20.0110.01017.40
8.0.10.0070.00017.07
8.0.00.0070.01016.90
7.4.330.0030.00316.67
7.4.320.0060.00016.60
7.4.300.0000.00616.49
7.4.290.0000.00716.58
7.4.280.0040.00416.62
7.4.270.0080.00016.46
7.4.260.0000.00716.58
7.4.250.0000.00716.52
7.4.240.0020.00516.53
7.4.230.0000.00716.66
7.4.220.0070.01116.40
7.4.210.0040.01216.61
7.4.200.0000.00816.50
7.4.160.0100.00716.45
7.4.150.0080.01117.40
7.4.140.0120.00917.86
7.4.130.0090.00916.46
7.4.120.0090.00816.67
7.4.110.0140.00316.42
7.4.100.0110.00816.72
7.4.90.0100.00716.61
7.4.80.0060.01619.39
7.4.70.0130.00316.70
7.4.60.0150.00016.69
7.4.50.0040.00816.50
7.4.40.0060.00916.41
7.4.30.0100.00716.64
7.4.00.0030.01014.63
7.3.330.0000.00513.35
7.3.320.0020.00213.20
7.3.310.0000.00816.38
7.3.300.0000.00716.25
7.3.290.0090.01016.33
7.3.280.0100.00716.35
7.3.270.0090.00917.40
7.3.260.0130.00316.50
7.3.250.0110.00816.40
7.3.240.0080.01116.33
7.3.230.0090.00916.39
7.3.210.0030.01316.63
7.3.200.0130.00716.24
7.3.190.0130.00316.42
7.3.180.0100.00616.55
7.3.170.0110.01116.49
7.3.160.0070.01016.45
7.2.330.0150.00316.68
7.2.320.0060.01216.72
7.2.310.0070.01016.65
7.2.300.0080.00916.40
7.2.290.0100.00716.79
7.2.60.0070.01016.82
7.2.00.0000.01219.26
7.1.200.0070.00315.61
7.1.100.0070.00418.06
7.1.70.0090.00616.97
7.1.60.0100.01619.36
7.1.50.0090.00617.02
7.1.00.0000.08022.33
7.0.200.0000.01116.76
7.0.60.0070.04320.09
7.0.50.0030.08717.96
7.0.40.0070.06020.10
7.0.30.0230.04020.21
7.0.20.0400.07020.36
7.0.10.0030.09020.05
7.0.00.0070.09020.18
5.6.280.0000.07721.04
5.6.210.0100.03720.66
5.6.200.0070.06018.29
5.6.190.0070.07320.39
5.6.180.0330.05320.68
5.6.170.0300.07320.51
5.6.160.0030.05020.57
5.6.150.0200.05318.16
5.6.140.0000.04318.11
5.6.130.0030.04318.28
5.6.120.0070.08321.05
5.6.110.0070.06721.00
5.6.100.0000.09321.13
5.6.90.0030.04321.09
5.6.80.0070.07720.43
5.5.350.0330.06720.39
5.5.340.0030.07318.05
5.5.330.0070.05020.40
5.5.320.0030.06720.35
5.5.310.0100.04720.32
5.5.300.0100.07718.08
5.5.290.0000.04318.07
5.5.280.0130.06020.77
5.5.270.0100.08320.86
5.5.260.0170.07720.72
5.5.250.0130.05720.77
5.5.240.4030.03720.14

preferences:
62.61 ms | 401 KiB | 5 Q