3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { use Foo\Foo as Bar; class Baz extends Bar { } } namespace Foo { class Bar { } class 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.3.60.0110.01116.63
8.3.50.0070.00716.27
8.3.40.0030.01318.43
8.3.30.0150.00018.59
8.3.20.0070.00022.01
8.3.10.0050.00323.70
8.3.00.0080.00020.96
8.2.180.0120.00318.03
8.2.170.0150.00022.96
8.2.160.0150.00022.17
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0040.00420.35
8.2.120.0040.00426.35
8.2.110.0070.00320.51
8.2.100.0120.00017.51
8.2.90.0030.00519.21
8.2.80.0000.00817.97
8.2.70.0040.00917.38
8.2.60.0070.00017.80
8.2.50.0080.00018.10
8.2.40.0000.00822.36
8.2.30.0000.00821.03
8.2.20.0070.00017.86
8.2.10.0000.00817.93
8.2.00.0040.00417.98
8.1.280.0070.00725.92
8.1.270.0040.00423.84
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0080.00020.76
8.1.230.0040.00718.97
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.22
8.1.190.0030.00617.10
8.1.180.0000.00918.10
8.1.170.0080.00018.56
8.1.160.0000.00718.90
8.1.150.0040.00420.67
8.1.140.0050.00319.54
8.1.130.0070.00018.81
8.1.120.0070.00017.27
8.1.110.0040.00417.40
8.1.100.0000.00717.41
8.1.90.0000.00717.28
8.1.80.0060.00317.37
8.1.70.0000.00717.41
8.1.60.0000.00717.51
8.1.50.0070.00017.33
8.1.40.0000.00817.48
8.1.30.0040.00417.64
8.1.20.0000.00817.48
8.1.10.0080.00017.31
8.1.00.0000.00817.32
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.38
8.0.270.0080.00017.22
8.0.260.0000.00616.75
8.0.250.0070.00016.90
8.0.240.0040.00416.80
8.0.230.0000.00716.85
8.0.220.0030.00316.83
8.0.210.0000.00716.86
8.0.200.0030.00316.78
8.0.190.0040.00416.75
8.0.180.0000.00716.76
8.0.170.0070.00016.73
8.0.160.0040.00416.73
8.0.150.0070.00016.84
8.0.140.0000.00716.78
8.0.130.0030.00313.27
8.0.120.0030.00516.84
8.0.110.0030.00616.84
8.0.100.0000.00716.64
8.0.90.0040.00416.84
8.0.80.0090.00616.84
8.0.70.0000.00716.65
8.0.60.0040.00416.70
8.0.50.0030.00516.88
8.0.30.0100.01016.97
8.0.20.0150.00617.40
8.0.10.0040.00416.77
8.0.00.0030.01416.63
7.4.330.0000.00615.55
7.4.320.0030.00316.50
7.4.300.0030.00316.50
7.4.290.0030.00316.32
7.4.280.0030.00616.38
7.4.270.0030.00316.43
7.4.260.0040.00416.41
7.4.250.0040.00416.38
7.4.240.0030.00316.44
7.4.230.0000.00716.41
7.4.220.0070.02016.47
7.4.210.0140.00016.45
7.4.200.0030.00316.40
7.4.160.0050.01116.37
7.4.150.0080.00817.40
7.4.140.0100.00917.86
7.4.130.0070.01016.51
7.4.120.0110.01016.48
7.4.110.0070.01016.48
7.4.100.0090.00916.41
7.4.90.0060.01516.25
7.4.80.0090.00919.39
7.4.70.0110.00716.44
7.4.60.0130.00716.43
7.4.50.0110.00716.25
7.4.40.0120.00916.59
7.4.30.0070.01416.58
7.4.00.0070.00414.62
7.3.330.0040.00413.00
7.3.320.0020.00213.23
7.3.310.0000.00716.27
7.3.300.0030.00516.21
7.3.290.0110.00516.25
7.3.280.0090.00816.21
7.3.270.0070.01017.40
7.3.260.0120.00516.20
7.3.250.0150.00916.35
7.3.240.0080.00916.20
7.3.230.0070.01016.22
7.3.210.0100.00716.26
7.3.200.0060.01016.46
7.3.190.0130.00716.16
7.3.180.0060.01016.51
7.3.170.0060.01016.54
7.3.160.0100.00616.16
7.2.330.0040.01316.57
7.2.320.0170.00016.60
7.2.310.0090.00916.37
7.2.300.0090.00916.35
7.2.290.0100.00716.44
7.2.60.0100.00316.76
7.2.00.0090.00619.35
7.1.200.0060.00615.45
7.1.100.0040.00817.69
7.1.70.0080.00817.01
7.1.60.0500.01033.11
7.1.50.0500.01332.83
7.1.40.0400.02032.41
7.1.30.0500.01032.38
7.1.20.1000.01732.49
7.1.10.0430.01014.63
7.1.00.0300.01314.70
7.0.200.0530.01014.93
7.0.190.0400.01014.83
7.0.180.0370.01714.16
7.0.170.0330.01014.18
7.0.160.0370.01014.28
7.0.150.0370.01013.99
7.0.140.0370.00314.06
7.0.130.0270.01314.49
7.0.120.0430.00714.61
7.0.110.0370.00314.37
7.0.100.0300.01314.29
7.0.90.0330.01014.38
7.0.80.0300.00714.27
7.0.70.0330.00714.22
7.0.60.0330.00713.92
7.0.50.0300.00714.61
7.0.40.0270.01014.46
7.0.30.0330.00714.43
7.0.20.0400.01314.21
7.0.10.0300.00314.39
7.0.00.0530.00714.49

preferences:
47.36 ms | 401 KiB | 5 Q