3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { class Bar {} }; namespace Foo\Baz { class Qux {} } namespace { use Foo as F; use F\Baz; new Baz\Qux; }

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.75
8.3.50.0080.01121.07
8.3.40.0120.00318.71
8.3.30.0120.00918.71
8.3.20.0140.00320.10
8.3.10.0120.00623.65
8.3.00.0100.00719.69
8.2.180.0090.00616.38
8.2.170.0160.00322.96
8.2.160.0130.00620.35
8.2.150.0120.00325.66
8.2.140.0070.00724.66
8.2.130.0070.01026.16
8.2.120.0090.00017.63
8.2.110.0060.00319.36
8.2.100.0090.00317.63
8.2.90.0040.00419.06
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0000.00717.90
8.2.50.0000.00818.07
8.2.40.0060.00319.40
8.2.30.0040.00420.61
8.2.20.0040.00417.55
8.2.10.0050.00218.01
8.2.00.0000.00717.98
8.1.280.0040.01125.92
8.1.270.0080.00023.83
8.1.260.0130.00626.35
8.1.250.0110.00728.09
8.1.240.0040.00423.92
8.1.230.0080.00417.64
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0030.00517.23
8.1.180.0000.00718.10
8.1.170.0050.00318.57
8.1.160.0070.00021.97
8.1.150.0040.00418.73
8.1.140.0000.00818.98
8.1.130.0030.00317.62
8.1.120.0040.00417.25
8.1.110.0000.00917.31
8.1.100.0000.00717.32
8.1.90.0040.00417.38
8.1.80.0030.00517.40
8.1.70.0040.00417.29
8.1.60.0040.00417.45
8.1.50.0050.00317.48
8.1.40.0030.00517.30
8.1.30.0050.00317.58
8.1.20.0000.00817.50
8.1.10.0000.00817.39
8.1.00.0050.00217.46
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.28
8.0.270.0000.00717.18
8.0.260.0070.00017.18
8.0.250.0000.00716.94
8.0.240.0000.00716.96
8.0.230.0000.00716.90
8.0.220.0080.00016.71
8.0.210.0000.00716.86
8.0.200.0000.00716.95
8.0.190.0080.00016.93
8.0.180.0050.00216.87
8.0.170.0030.00516.79
8.0.160.0000.00816.84
8.0.150.0030.00316.92
8.0.140.0040.00416.77
8.0.130.0030.00313.35
8.0.120.0080.00016.85
8.0.110.0000.00716.92
8.0.100.0000.00816.74
8.0.90.0040.00416.68
8.0.80.0130.00316.95
8.0.70.0090.00016.91
8.0.60.0000.00716.89
8.0.50.0040.00416.75
8.0.30.0100.01017.10
8.0.20.0120.00717.40
8.0.10.0000.00816.81
8.0.00.0060.01316.69
7.4.330.0020.00215.08
7.4.320.0030.00316.27
7.4.300.0030.00316.43
7.4.290.0000.00616.34
7.4.280.0030.00316.54
7.4.270.0070.00016.35
7.4.260.0040.00416.32
7.4.250.0000.00716.39
7.4.240.0030.00416.51
7.4.230.0070.00016.33
7.4.220.0000.01616.42
7.4.210.0090.01016.60
7.4.200.0000.00716.59
7.4.160.0090.00616.57
7.4.150.0140.00517.40
7.4.140.0170.00817.86
7.4.130.0120.00416.40
7.4.120.0120.00516.52
7.4.110.0130.00616.25
7.4.100.0130.01016.45
7.4.90.0110.00716.38
7.4.80.0120.00619.39
7.4.70.0090.01116.45
7.4.60.0060.01016.46
7.4.50.0020.00516.33
7.4.40.0130.00316.52
7.4.30.0060.01616.48
7.4.00.0030.01414.82
7.3.330.0050.00013.36
7.3.320.0000.00513.25
7.3.310.0050.00316.31
7.3.300.0000.00716.19
7.3.290.0110.00516.27
7.3.280.0080.00816.28
7.3.270.0120.00617.40
7.3.260.0070.01016.31
7.3.250.0120.00816.29
7.3.240.0070.01016.26
7.3.230.0100.00716.39
7.3.210.0110.00716.45
7.3.200.0040.01216.27
7.3.190.0100.00716.32
7.3.180.0040.01116.58
7.3.170.0060.00916.46
7.3.160.0030.01316.36
7.3.10.0100.00316.34
7.3.00.0170.00316.00
7.2.330.0170.00016.58
7.2.320.0030.01416.60
7.2.310.0090.01216.45
7.2.300.0060.01516.59
7.2.290.0140.00316.20
7.2.130.0040.00816.00
7.2.120.0100.00316.55
7.2.110.0140.00716.17
7.2.100.0060.00616.34
7.2.90.0030.00916.59
7.2.80.0100.00716.19
7.2.70.0130.00016.40
7.2.60.0050.01016.48
7.2.50.0070.00716.38
7.2.40.0180.00016.47
7.2.30.0080.00816.02
7.2.20.0120.00416.50
7.2.10.0110.00316.28
7.2.00.0110.00517.92
7.1.250.0100.00015.49
7.1.200.0060.00615.57
7.1.100.0000.01417.76
7.1.70.0070.00717.11
7.1.60.0040.02119.50
7.1.50.0110.01116.79
7.1.00.0070.07322.30
7.0.200.0030.00316.62
7.0.60.0200.04719.90
7.0.50.0070.08017.89
7.0.40.0070.04720.26
7.0.30.0400.06020.06
7.0.20.0230.04020.12
7.0.10.0070.06720.06
7.0.00.0070.06720.22
5.6.280.0000.04021.02
5.6.210.0000.04320.64
5.6.200.0030.04718.23
5.6.190.0000.04720.46
5.6.180.0430.07320.48
5.6.170.0100.04720.48
5.6.160.0030.08320.69
5.6.150.0000.06318.16
5.6.140.0130.07718.28
5.6.130.0100.08018.14
5.6.120.0070.04721.04
5.6.110.0170.06320.96
5.6.100.0100.04021.04
5.6.90.0070.09021.10
5.6.80.0000.05320.52
5.5.350.0300.07720.29
5.5.340.0100.07017.95
5.5.330.0130.05720.35
5.5.320.0000.05320.44
5.5.310.0330.06720.27
5.5.300.0070.08317.98
5.5.290.0100.07717.95
5.5.280.0000.04320.87
5.5.270.0130.07720.86
5.5.260.0070.08020.79
5.5.250.0170.07320.61
5.5.240.0200.05720.36
5.4.450.0630.06019.29
5.4.440.0700.06019.61
5.4.430.0770.05319.45
5.4.420.0770.04719.60
5.4.410.0900.04719.03
5.4.400.0700.05019.01
5.4.390.0730.05318.88
5.4.380.0930.06719.29
5.4.370.0770.05019.06
5.4.360.0700.05719.14
5.4.350.0770.04019.29
5.4.340.0830.06019.26
5.4.320.0830.04719.15
5.4.310.0800.04719.16
5.4.300.0830.04319.23
5.4.290.0770.05319.26
5.4.280.0770.06018.84
5.4.270.0800.05719.02
5.4.260.0770.06019.37
5.4.250.0730.04719.22
5.4.240.0700.06718.86
5.4.230.0800.04719.37
5.4.220.0770.05019.20
5.4.210.0670.05718.85
5.4.200.0770.05319.14
5.4.190.0730.05719.29
5.4.180.0800.05019.28
5.4.170.0730.05318.96
5.4.160.0800.05318.95
5.4.150.0730.05019.12
5.4.140.0830.06316.59
5.4.130.0700.04716.61
5.4.120.0700.05016.44
5.4.110.0730.05016.57
5.4.100.0670.05316.30
5.4.90.0830.04016.58
5.4.80.0670.05016.63
5.4.70.0000.05016.59
5.4.60.0230.06716.51
5.4.50.0300.06016.35
5.4.40.0200.07316.54
5.4.30.0070.05016.30
5.4.20.0000.08016.43
5.4.10.0270.04316.57

preferences:
68.57 ms | 401 KiB | 5 Q