3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Hoge\Service\Service1; class Service1 { } namespace Hoge\Service\Service2; use Hoge\Service\Service1; class Service2 {} new Service1();

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.0040.01116.48
8.3.50.0130.01021.97
8.3.40.0140.00718.82
8.3.30.0060.00918.57
8.3.20.0070.00020.21
8.3.10.0080.00023.62
8.3.00.0150.00019.25
8.2.180.0100.01018.66
8.2.170.0060.00922.96
8.2.160.0100.00320.43
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00019.11
8.2.120.0000.00726.35
8.2.110.0030.00620.38
8.2.100.0000.01217.80
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0140.00017.66
8.2.50.0040.00418.07
8.2.40.0080.00019.35
8.2.30.0000.00720.49
8.2.20.0070.00317.72
8.2.10.0040.00418.07
8.2.00.0050.00317.86
8.1.280.0080.00825.92
8.1.270.0060.00622.06
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0040.00422.05
8.1.230.0040.00817.64
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.00
8.1.190.0050.00317.23
8.1.180.0030.00618.10
8.1.170.0000.00820.11
8.1.160.0040.00421.84
8.1.150.0050.00218.71
8.1.140.0030.00619.44
8.1.130.0000.00717.56
8.1.120.0000.00717.36
8.1.110.0000.00717.17
8.1.100.0040.00317.22
8.1.90.0070.00017.25
8.1.80.0070.00017.28
8.1.70.0070.00017.25
8.1.60.0000.00817.43
8.1.50.0080.00017.45
8.1.40.0000.00717.32
8.1.30.0030.00617.55
8.1.20.0040.00417.44
8.1.10.0000.00717.39
8.1.00.0000.00817.32
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0070.00017.22
8.0.260.0040.00417.19
8.0.250.0000.00716.79
8.0.240.0030.00316.84
8.0.230.0030.00316.83
8.0.220.0070.00016.90
8.0.210.0050.00216.74
8.0.200.0050.00316.85
8.0.190.0030.00616.88
8.0.180.0000.00716.94
8.0.170.0000.00816.92
8.0.160.0040.00416.85
8.0.150.0000.00716.71
8.0.140.0030.00716.82
8.0.130.0050.00513.22
8.0.120.0040.00416.74
8.0.110.0040.00416.91
8.0.100.0040.00416.84
8.0.90.0040.00416.92
8.0.80.0160.00616.89
8.0.70.0040.00416.77
8.0.60.0040.00416.80
8.0.50.0070.00016.94
8.0.30.0090.00917.01
8.0.20.0080.01017.40
8.0.10.0080.00017.00
8.0.00.0100.01016.66
7.4.330.0050.00016.85
7.4.320.0000.00616.50
7.4.300.0040.00416.57
7.4.290.0030.00316.32
7.4.280.0040.00416.33
7.4.270.0040.00416.35
7.4.260.0000.00816.45
7.4.250.0080.00016.49
7.4.240.0030.00316.49
7.4.230.0030.00316.50
7.4.220.0100.01316.47
7.4.210.0170.00416.46
7.4.200.0040.00416.33
7.4.160.0070.01016.39
7.4.150.0150.00317.40
7.4.140.0100.01017.86
7.4.130.0090.00916.29
7.4.120.0080.01316.38
7.4.110.0070.01116.53
7.4.100.0150.00816.48
7.4.90.0070.01816.49
7.4.80.0030.01319.39
7.4.70.0180.00316.44
7.4.60.0160.00016.39
7.4.50.0130.00016.34
7.4.40.0090.01216.53
7.4.30.0030.01816.60
7.4.00.0030.01215.06
7.3.330.0040.00413.27
7.3.320.0030.00313.11
7.3.310.0040.00416.39
7.3.300.0040.00416.28
7.3.290.0120.00316.28
7.3.280.0140.00116.28
7.3.270.0120.00617.40
7.3.260.0170.00716.52
7.3.240.0100.00716.40
7.3.230.0040.01216.46
7.3.210.0070.01616.53
7.3.200.0050.01116.42
7.3.190.0130.00516.29
7.3.180.0030.01316.58
7.3.170.0120.00916.43
7.3.160.0090.00916.39
7.3.120.0030.01514.50
7.3.110.0100.01015.05
7.3.100.0140.00314.68
7.3.90.0080.00614.89
7.3.80.0030.01314.80
7.3.70.0030.00914.79
7.3.60.0040.01114.92
7.3.50.0090.00014.67
7.3.40.0070.00714.73
7.3.30.0090.00614.89
7.3.20.0030.01016.61
7.3.10.0030.00616.55
7.3.00.0070.00716.52
7.2.330.0140.00416.52
7.2.320.0120.00616.66
7.2.310.0100.00616.66
7.2.300.0030.01716.52
7.2.290.0110.00616.47
7.2.250.0060.01215.13
7.2.240.0060.01215.05
7.2.230.0030.00914.87
7.2.220.0060.01015.03
7.2.210.0110.00314.68
7.2.200.0100.00614.62
7.2.190.0090.00314.61
7.2.180.0090.00614.82
7.2.170.0000.01414.85
7.2.60.0000.01516.88
7.2.00.0030.00919.37
7.1.330.0060.00915.77
7.1.320.0040.00815.56
7.1.310.0100.00715.58
7.1.300.0070.00715.71
7.1.290.0030.00915.71
7.1.280.0000.01315.65
7.1.270.0100.00315.77
7.1.260.0060.00615.60
7.1.200.0080.00815.62
7.1.100.0040.01117.95
7.1.70.0030.00617.05
7.1.60.0150.00619.48
7.1.50.0030.00716.80
7.1.00.0030.07322.32
7.0.200.0000.00716.66
7.0.60.0070.04019.84
7.0.50.0170.03017.79
7.0.40.0130.08320.20
7.0.30.0270.05720.25
7.0.20.0500.06320.26
7.0.10.0200.07320.16
7.0.00.0000.09020.23
5.6.280.0030.03720.89
5.6.210.0070.08020.50
5.6.200.0070.08018.27
5.6.190.0030.08720.61
5.6.180.0500.07020.46
5.6.170.0330.05320.55
5.6.160.0170.07020.57
5.6.150.0030.04318.19
5.6.140.0000.07318.27
5.6.130.0070.06018.18
5.6.120.0100.06721.00
5.6.110.0170.07321.01
5.6.100.0070.05320.96
5.6.90.0100.04721.00
5.6.80.0130.08020.38
5.5.350.4500.04320.45
5.5.340.0100.05317.99
5.5.330.0070.08320.45
5.5.320.0230.03720.42
5.5.310.0300.06720.27
5.5.300.0070.04717.98
5.5.290.0200.06717.94
5.5.280.0100.08320.62
5.5.270.0100.08320.87
5.5.260.0100.06020.75
5.5.250.0000.04320.61
5.5.240.0270.06320.16

preferences:
80.57 ms | 401 KiB | 5 Q