3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { class Bar {} } namespace Foo { use Bar; }

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.0.80.0080.00816.90
8.0.70.0030.01616.76
8.0.60.0100.01316.70
8.0.50.0060.02016.80
8.0.30.0130.01016.80
8.0.20.0130.01016.83
8.0.10.0100.00616.90
8.0.00.0060.01316.90
7.4.210.0060.00816.45
7.4.200.0170.00716.48
7.4.190.0060.01016.45
7.4.180.0140.00016.55
7.4.160.0120.00416.54
7.4.150.0060.01216.41
7.4.140.0060.00916.39
7.4.130.0080.00816.29
7.4.120.0120.00616.15
7.4.110.0070.01116.20
7.4.100.0100.00716.39
7.4.90.0110.00816.34
7.4.80.0140.00616.28
7.4.70.0090.00916.30
7.4.60.0050.01316.24
7.4.50.0090.00716.21
7.4.40.0110.00816.29
7.4.30.0070.01116.27
7.4.20.0080.01116.33
7.4.10.0130.00616.18
7.4.00.0110.00616.30
7.3.290.0060.00916.21
7.3.280.0030.01316.21
7.3.270.0040.01516.23
7.3.260.0080.00816.15
7.3.250.0060.01016.27
7.3.240.0140.01116.25
7.3.230.0040.01416.19
7.3.220.0140.00616.21
7.3.210.0070.00916.25
7.3.200.0070.01116.29
7.3.190.0050.01216.22
7.3.180.0130.00516.30
7.3.170.0050.01416.24
7.3.160.0060.01116.28
7.3.150.0070.01116.20
7.3.140.0110.00616.22
7.3.130.0100.00716.12
7.3.120.0080.00716.19
7.3.110.0110.00716.15
7.3.100.0130.00516.11
7.3.90.0100.00716.37
7.3.80.0090.01216.22
7.3.70.0070.01016.24
7.3.60.0100.00516.31
7.3.50.0090.01016.28
7.3.40.0090.01116.18
7.3.30.0080.01016.14
7.3.20.0130.01116.31
7.3.10.0060.01116.33
7.3.00.0120.00316.21
7.2.340.0240.00516.17
7.2.330.0220.01316.25
7.2.320.0200.01216.28
7.2.310.0160.01116.36
7.2.300.0160.00916.33
7.2.290.0170.00816.20
7.2.280.0200.00816.34
7.2.270.0160.01416.37
7.2.260.0210.00716.27
7.2.250.0170.01016.27
7.2.240.0160.01516.35
7.2.230.0150.01016.23
7.2.220.0260.01216.19
7.2.210.0220.01216.20
7.2.200.0210.00816.24
7.2.190.0180.01016.33
7.2.180.0200.01016.23
7.2.170.0180.01316.35
7.2.160.0130.01116.33
7.2.150.0230.01016.43
7.2.140.0190.00616.35
7.2.130.0160.01216.41
7.2.120.0210.01016.51
7.2.110.0180.01016.46
7.2.100.0170.01016.52
7.2.90.0190.01116.35
7.2.80.0180.01416.40
7.2.70.0350.00216.35
7.2.60.0180.00616.44
7.2.50.0080.01716.33
7.2.40.0200.00716.43
7.2.30.0140.01116.79
7.2.20.0160.01216.72
7.2.10.0150.00916.75
7.2.00.0230.00816.80
7.1.330.0160.00915.24
7.1.320.0340.01215.40
7.1.310.0170.00615.26
7.1.300.0210.00615.25
7.1.290.0160.01115.17
7.1.280.0130.01315.38
7.1.270.0230.00515.21
7.1.260.0240.00915.17
7.1.250.0130.01215.27
7.1.240.0150.00815.27
7.1.230.0170.01215.28
7.1.220.0110.01315.33
7.1.210.0140.01115.29
7.1.200.0450.01315.36
7.1.190.0110.01515.27
7.1.180.0150.01015.26
7.1.170.0140.01315.26
7.1.160.0130.01215.28
7.1.150.0160.00915.58
7.1.140.0210.01015.50
7.1.130.0220.01115.52
7.1.120.0170.00915.56
7.1.110.0210.00715.35
7.1.100.0140.00915.39
7.1.90.0180.00915.31
7.1.80.0210.01515.49
7.1.70.0140.01115.10
7.1.60.0220.01121.24
7.1.50.0210.01121.09
7.1.40.0240.01420.95
7.1.30.0310.01221.01
7.1.20.0280.00821.04
7.1.10.0130.01315.02
7.1.00.0140.01215.03
7.0.330.0290.00614.93
7.0.320.0300.01115.14
7.0.310.0270.00615.01
7.0.300.0220.00815.01
7.0.290.0180.01314.97
7.0.280.0200.01015.15
7.0.270.0220.00815.02
7.0.260.0220.00615.06
7.0.250.0260.00415.13
7.0.240.0210.00915.26
7.0.230.0210.00915.14
7.0.220.0300.00715.13
7.0.210.0290.00415.06
7.0.200.0230.01115.12
7.0.190.0250.00915.06
7.0.180.0280.01115.16
7.0.170.0210.01315.24
7.0.160.0250.00915.05
7.0.150.0260.00915.04
7.0.140.0220.01115.12
7.0.130.0200.01115.10
7.0.120.0430.00715.14
7.0.110.0220.01015.05
7.0.100.0220.01015.08
7.0.90.0280.00614.90
7.0.80.0200.01015.07
7.0.70.0190.01115.01
7.0.60.0230.00715.11
7.0.50.0200.01114.97
7.0.40.0200.01115.09
7.0.30.0160.01115.05
7.0.20.0240.00515.10
7.0.10.0160.01415.08
7.0.00.0190.01215.00
5.6.400.0230.00515.71
5.6.390.0210.00815.58
5.6.380.0150.01615.74
5.6.370.0160.01415.81
5.6.360.0200.01015.65
5.6.350.0200.01115.54
5.6.340.0360.00615.50
5.6.330.0240.01015.72
5.6.320.0250.01015.61
5.6.310.0300.00815.74
5.6.300.0330.00615.61
5.6.290.0220.00715.62
5.6.280.0210.01115.58
5.6.270.0260.00815.60
5.6.260.0230.01015.68
5.6.250.0120.02015.56
5.6.240.0190.01215.74
5.6.230.0200.00715.76
5.6.220.0230.01215.62
5.6.210.0210.01115.59
5.6.200.0230.01415.68
5.6.190.0210.01515.80
5.6.180.0220.01115.73
5.6.170.0190.01515.63
5.6.160.0250.00815.63
5.6.150.0270.00815.70
5.6.140.0240.01115.62
5.6.130.0360.00215.61
5.6.120.0250.01115.68
5.6.110.0200.01215.68
5.6.100.0180.01415.56
5.6.90.0220.01015.53
5.6.80.0270.00815.57
5.6.70.0160.01515.60
5.6.60.0200.01015.55
5.6.50.0260.00815.65
5.6.40.0180.01215.50
5.6.30.0170.01115.56
5.6.20.0220.01015.48
5.6.10.0260.00615.45
5.6.00.0200.00915.62

preferences:
131.81 ms | 1398 KiB | 7 Q