3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar\Dar { class Bar { } } namespace { use Foo\{ Bar }; $a = new Bar\Dar; }

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.0070.01416.63
8.3.50.0100.00821.02
8.3.40.0070.01018.67
8.3.30.0000.01918.58
8.3.20.0050.00220.25
8.3.10.0040.00423.39
8.3.00.0030.00617.80
8.2.180.0070.00718.25
8.2.170.0040.01122.96
8.2.160.0070.00720.41
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00017.38
8.2.110.0110.00020.34
8.2.100.0040.00817.91
8.2.90.0050.00219.05
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0030.00617.93
8.2.50.0000.00818.07
8.2.40.0060.00321.25
8.2.30.0030.00320.50
8.2.20.0050.00217.71
8.2.10.0000.00717.86
8.2.00.0050.00318.03
8.1.280.0110.00425.92
8.1.270.0030.01423.79
8.1.260.0070.00026.35
8.1.250.0110.00328.09
8.1.240.0040.00422.61
8.1.230.0040.00817.64
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00617.23
8.1.180.0000.00718.10
8.1.170.0080.00020.32
8.1.160.0000.00721.93
8.1.150.0050.00218.75
8.1.140.0040.00419.54
8.1.130.0030.00317.47
8.1.120.0070.00017.18
8.1.110.0050.00317.21
8.1.100.0050.00217.23
8.1.90.0070.00017.22
8.1.80.0040.00417.27
8.1.70.0040.00417.28
8.1.60.0050.00217.47
8.1.50.0090.00017.41
8.1.40.0040.00417.45
8.1.30.0090.00017.51
8.1.20.0030.00617.49
8.1.10.0040.00417.54
8.1.00.0000.00717.41
8.0.300.0000.00818.77
8.0.290.0080.00016.63
8.0.280.0040.00418.41
8.0.270.0030.00317.12
8.0.260.0000.00617.18
8.0.250.0040.00416.88
8.0.240.0000.00716.98
8.0.230.0000.00716.79
8.0.220.0000.00716.87
8.0.210.0000.00716.88
8.0.200.0000.00816.80
8.0.190.0040.00416.89
8.0.180.0040.00416.81
8.0.170.0040.00416.89
8.0.160.0070.00016.81
8.0.150.0070.00316.89
8.0.140.0000.00816.66
8.0.130.0000.00613.30
8.0.120.0030.00616.90
8.0.110.0020.00516.87
8.0.100.0030.00316.85
8.0.90.0000.00816.89
8.0.80.0040.01116.84
8.0.70.0050.00216.82
8.0.60.0050.00316.71
8.0.50.0070.00016.83
8.0.30.0110.00717.08
8.0.20.0110.00817.40
8.0.10.0080.00016.88
8.0.00.0080.01016.70
7.4.330.0000.00515.08
7.4.320.0030.00316.37
7.4.300.0000.00716.42
7.4.290.0030.00316.51
7.4.280.0070.00016.41
7.4.270.0040.00416.52
7.4.260.0030.00316.50
7.4.250.0030.00516.49
7.4.240.0040.00416.43
7.4.230.0000.00716.30
7.4.220.0140.01316.60
7.4.210.0070.01016.62
7.4.200.0040.00416.40
7.4.160.0150.00016.42
7.4.150.0110.00617.40
7.4.140.0130.00517.86
7.4.130.0170.00716.48
7.4.120.0110.00816.36
7.4.110.0030.01516.54
7.4.100.0140.00916.39
7.4.90.0030.01316.55
7.4.80.0180.00019.39
7.4.70.0000.01616.31
7.4.60.0160.00316.29
7.4.50.0050.00316.27
7.4.40.0090.00916.43
7.4.30.0100.00716.57
7.4.00.0060.01014.93
7.3.330.0000.00513.29
7.3.320.0060.00013.30
7.3.310.0030.00316.29
7.3.300.0030.00316.15
7.3.290.0090.00716.27
7.3.280.0070.00816.29
7.3.270.0060.01217.40
7.3.260.0120.00416.25
7.3.250.0080.00916.35
7.3.240.0120.00616.46
7.3.230.0060.01516.39
7.3.210.0150.00416.26
7.3.200.0100.00916.35
7.3.190.0150.00016.59
7.3.180.0110.00716.41
7.3.170.0090.00616.46
7.3.160.0090.00916.38
7.2.330.0170.00016.47
7.2.320.0060.01516.50
7.2.310.0100.00716.66
7.2.300.0070.01016.44
7.2.290.0140.00416.29
7.2.60.0000.01116.81
7.1.200.0040.00815.53
7.1.70.0000.00816.82
7.1.60.0060.00619.50
7.1.50.0100.01316.86
7.1.00.0030.07722.36
7.0.200.0100.00614.71
7.0.60.0070.04019.80
7.0.50.0030.08317.87
7.0.40.0070.08020.15
7.0.30.0270.08020.16
7.0.20.0170.04320.18
7.0.10.0000.04720.08
7.0.00.0100.08320.08
5.6.280.0030.03320.98
5.6.210.0170.04720.47
5.6.200.0030.04018.16
5.6.190.0170.07320.52
5.6.180.0230.07320.57
5.6.170.0230.08720.57
5.6.160.0030.05020.47
5.6.150.0030.08718.16
5.6.140.0070.08318.20
5.6.130.0100.03718.14
5.6.120.0100.05720.97
5.6.110.0130.07320.89
5.6.100.0070.08020.88
5.6.90.0130.08021.09
5.6.80.0130.07020.53
5.5.350.0170.08320.38
5.5.340.0070.04018.03
5.5.330.0030.05320.32
5.5.320.3430.04320.51
5.5.310.0270.07720.43
5.5.300.0130.05717.98
5.5.290.0130.03718.00
5.5.280.0030.04320.79
5.5.270.0130.08320.75
5.5.260.0030.08720.79
5.5.250.0070.07320.61
5.5.240.0070.02720.28
5.4.450.0730.06319.20
5.4.440.0830.07719.59
5.4.430.1030.06019.70
5.4.420.1000.07319.30
5.4.410.0700.06019.48
5.4.400.0700.06018.88
5.4.390.0770.05318.88
5.4.380.0800.05018.89
5.4.370.0830.05019.01
5.4.360.0700.06719.22
5.4.350.0900.04319.06
5.4.340.0870.05019.23
5.4.320.0830.05319.23
5.4.310.0830.04719.14
5.4.300.0770.06019.29
5.4.290.0830.04719.01
5.4.280.0870.04719.01
5.4.270.0870.04318.98
5.4.260.0730.05318.86
5.4.250.0800.05019.40
5.4.240.0870.04019.05
5.4.230.0730.05319.12
5.4.220.0870.04719.15
5.4.210.0970.07719.21
5.4.200.0830.08319.06
5.4.190.0970.05719.30
5.4.180.0730.05319.11
5.4.170.0970.05319.22
5.4.160.0700.05719.23
5.4.150.0800.05019.04
5.4.140.0770.04716.57
5.4.130.0600.05716.56
5.4.120.0800.05016.43
5.4.110.0800.05716.28
5.4.100.0700.05316.45
5.4.90.0770.04316.43
5.4.80.0870.05016.59
5.4.70.0330.06016.54
5.4.60.0070.07016.49
5.4.50.0070.06716.53
5.4.40.0170.03716.42
5.4.30.0370.06716.42
5.4.20.0030.07316.55

preferences:
58.98 ms | 401 KiB | 5 Q