3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Bar { class Bat { public function __construct() { return $this; } } } namespace Foo { use \Bar as Baz; class Foobar { public function f() { return new Baz\Bat(); } } }

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.0180.00616.63
8.3.50.0120.00918.09
8.3.40.0120.00318.45
8.3.30.0110.00418.61
8.3.20.0050.00321.73
8.3.10.0040.00420.37
8.3.00.0140.00022.10
8.2.180.0070.00716.32
8.2.170.0140.00722.96
8.2.160.0130.00022.26
8.2.150.0030.00524.18
8.2.140.0110.00724.66
8.2.130.0140.00019.39
8.2.120.0070.00026.35
8.2.110.0060.00320.88
8.2.100.0060.00617.78
8.2.90.0000.00918.92
8.2.80.0070.00019.25
8.2.70.0000.00817.38
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0000.00820.54
8.2.30.0000.00719.02
8.2.20.0070.00017.80
8.2.10.0040.00417.79
8.2.00.0040.00417.63
8.1.280.0130.00925.92
8.1.270.0000.00723.86
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00024.03
8.1.230.0030.00917.66
8.1.220.0000.00917.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00816.99
8.1.180.0020.00518.10
8.1.170.0070.00318.58
8.1.160.0030.00318.75
8.1.150.0040.00422.06
8.1.140.0040.00419.47
8.1.130.0040.00418.94
8.1.120.0000.00717.34
8.1.110.0050.00317.23
8.1.100.0040.00417.21
8.1.90.0050.00217.21
8.1.80.0040.00417.28
8.1.70.0000.00817.36
8.1.60.0060.00317.43
8.1.50.0060.00317.23
8.1.40.0000.00817.41
8.1.30.0030.00517.54
8.1.20.0040.00417.48
8.1.10.0050.00217.36
8.1.00.0000.00817.20
8.0.300.0070.00018.77
8.0.290.0000.00816.58
8.0.280.0030.00318.32
8.0.270.0000.00717.12
8.0.260.0000.00717.11
8.0.250.0000.00716.76
8.0.240.0030.00716.76
8.0.230.0060.00316.81
8.0.220.0000.00916.75
8.0.210.0030.00316.69
8.0.200.0030.00616.68
8.0.190.0000.00716.78
8.0.180.0040.00416.63
8.0.170.0000.00816.76
8.0.160.0000.00716.75
8.0.150.0050.00316.80
8.0.140.0100.00016.73
8.0.130.0000.00513.21
8.0.120.0040.00416.72
8.0.110.0040.00416.71
8.0.100.0030.00316.86
8.0.90.0040.00416.56
8.0.80.0040.01116.70
8.0.70.0000.00716.60
8.0.60.0000.00716.77
8.0.50.0000.00716.70
8.0.30.0140.00416.84
8.0.20.0110.00817.40
8.0.10.0030.00316.75
8.0.00.0130.00316.53
7.4.330.0020.00215.55
7.4.320.0030.00316.35
7.4.300.0000.00616.50
7.4.290.0070.00016.35
7.4.280.0030.00316.43
7.4.270.0000.00616.48
7.4.260.0090.00016.34
7.4.250.0040.00416.25
7.4.240.0000.00716.44
7.4.230.0000.00616.44
7.4.220.0160.00916.44
7.4.210.0050.00916.43
7.4.200.0050.00316.27
7.4.160.0100.00716.38
7.4.150.0090.00917.40
7.4.140.0140.00917.86
7.4.130.0070.00916.41
7.4.120.0110.00816.36
7.4.110.0070.01016.27
7.4.100.0120.00616.40
7.4.90.0100.00716.33
7.4.80.0080.01219.39
7.4.70.0060.01316.31
7.4.60.0130.00316.37
7.4.50.0030.01016.02
7.4.40.0060.01316.11
7.4.30.0100.00716.51
7.4.00.0030.01214.76
7.3.330.0030.00313.03
7.3.320.0050.00012.95
7.3.310.0000.00716.16
7.3.300.0030.00316.04
7.3.290.0070.00016.11
7.3.280.0070.01116.16
7.3.270.0050.01417.40
7.3.260.0140.00716.13
7.3.250.0070.00916.29
7.3.240.0070.01116.20
7.3.230.0180.00016.54
7.3.210.0180.00616.14
7.3.200.0090.00916.47
7.3.190.0140.00816.34
7.3.180.0170.00316.24
7.3.170.0090.00916.11
7.3.160.0120.00616.21
7.3.10.0080.00616.29
7.3.00.0040.00816.36
7.2.330.0030.01316.15
7.2.320.0130.00316.47
7.2.310.0120.00316.19
7.2.300.0040.01416.34
7.2.290.0100.00716.32
7.2.130.0090.00516.42
7.2.120.0040.00816.70
7.2.110.0100.00316.80
7.2.100.0030.01116.64
7.2.90.0050.00616.59
7.2.80.0020.01516.93
7.2.70.0050.00916.75
7.2.60.0050.01016.66
7.2.50.0060.01116.70
7.2.40.0070.00616.55
7.2.30.0020.01016.90
7.2.20.0060.00816.79
7.2.10.0060.00816.53
7.2.00.0030.00916.62
7.1.250.0060.00615.42
7.1.200.0000.01515.69
7.1.70.0000.00716.77
7.1.60.0130.01015.18
7.1.10.0200.05022.16
7.1.00.0130.05322.39
7.0.200.0030.00916.66
7.0.150.0030.06321.82
7.0.140.0100.05721.89
7.0.130.0070.06021.82
7.0.120.0070.05721.89
7.0.110.0130.05321.82
7.0.100.0130.05721.90
7.0.90.0100.05721.88
7.0.80.0030.06321.71
7.0.70.0170.05021.94
7.0.60.0100.05721.70
7.0.50.0030.06021.91
7.0.40.0100.05321.73
7.0.30.0100.05321.93
7.0.20.0100.05321.83
7.0.10.0130.05021.75
7.0.00.0030.06021.88

preferences:
54.27 ms | 400 KiB | 5 Q