3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class hello {} } namespace bar { use foo; class hello { public function __construct(){ $foo = new foo\hello(); } } } namespace { $hello = new \bar\hello(); }

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.40.0110.00418.71
8.3.30.0110.00318.68
8.3.20.0040.00420.16
8.3.10.0080.00023.61
8.3.00.0050.00319.55
8.2.170.0120.00622.96
8.2.160.0100.00618.91
8.2.150.0060.00325.66
8.2.140.0080.00024.66
8.2.130.0020.00519.29
8.2.120.0050.00326.35
8.2.110.0100.00021.03
8.2.100.0080.00317.43
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0000.00918.10
8.2.40.0000.00720.34
8.2.30.0040.00420.84
8.2.20.0050.00217.97
8.2.10.0000.00818.03
8.2.00.0080.00018.09
8.1.270.0070.00022.14
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00522.75
8.1.230.0040.00720.97
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00718.92
8.1.150.0100.00018.73
8.1.140.0000.00819.38
8.1.130.0000.00718.75
8.1.120.0070.00017.27
8.1.110.0040.00417.24
8.1.100.0040.00817.27
8.1.90.0050.00217.41
8.1.80.0000.00717.30
8.1.70.0000.00717.37
8.1.60.0000.00817.57
8.1.50.0040.00417.40
8.1.40.0080.00317.36
8.1.30.0000.00817.60
8.1.20.0040.00417.60
8.1.10.0050.00317.38
8.1.00.0040.00417.42
8.0.300.0000.00718.77
8.0.290.0000.00916.75
8.0.280.0030.00318.33
8.0.270.0000.00717.06
8.0.260.0030.00318.56
8.0.250.0030.00316.84
8.0.240.0000.00716.89
8.0.230.0000.00716.94
8.0.220.0030.00316.72
8.0.210.0020.00516.79
8.0.200.0030.00316.80
8.0.190.0050.00316.77
8.0.180.0030.00516.82
8.0.170.0070.00016.79
8.0.160.0040.00416.77
8.0.150.0030.00316.79
8.0.140.0030.00316.82
8.0.130.0070.00013.18
8.0.120.0000.00816.79
8.0.110.0000.00816.61
8.0.100.0000.00716.64
8.0.90.0040.00416.79
8.0.80.0030.01916.88
8.0.70.0000.00716.75
8.0.60.0070.00016.88
8.0.50.0000.00716.67
8.0.30.0080.00816.93
8.0.20.0120.00717.40
8.0.10.0060.00316.88
8.0.00.0110.00616.63
7.4.330.0000.00515.55
7.4.320.0000.00616.48
7.4.300.0000.00616.60
7.4.290.0040.00416.40
7.4.280.0000.00716.48
7.4.270.0070.00016.44
7.4.260.0070.00016.59
7.4.250.0070.00016.46
7.4.240.0000.00716.54
7.4.230.0030.00316.63
7.4.220.0070.01116.61
7.4.210.0140.00316.61
7.4.200.0070.00016.52
7.4.160.0070.00916.42
7.4.150.0030.01517.40
7.4.140.0130.00617.86
7.4.130.0060.01216.21
7.4.120.0050.01216.46
7.4.110.0080.00816.54
7.4.100.0120.00616.55
7.4.90.0100.00716.55
7.4.80.0100.01019.39
7.4.70.0040.01416.55
7.4.60.0070.01016.38
7.4.50.0030.01216.29
7.4.40.0100.00716.25
7.4.30.0070.01016.39
7.4.10.0160.00014.90
7.4.00.0070.00914.96
7.3.330.0000.00713.06
7.3.320.0000.00513.23
7.3.310.0000.00716.07
7.3.300.0030.00316.21
7.3.290.0090.00816.17
7.3.280.0100.00816.19
7.3.270.0180.03117.40
7.3.260.0100.00716.36
7.3.250.0080.00916.32
7.3.240.0060.01116.37
7.3.230.0160.00316.23
7.3.210.0100.00616.14
7.3.200.0090.00916.37
7.3.190.0030.01316.13
7.3.180.0170.03216.52
7.3.170.0140.00716.25
7.3.160.0060.00916.45
7.3.130.0000.01814.78
7.3.120.0140.00314.86
7.3.110.0100.01014.98
7.3.100.0060.00314.39
7.3.90.0070.00314.37
7.3.80.0030.00714.72
7.3.70.0030.00714.83
7.3.60.0030.00914.76
7.3.50.0100.00314.53
7.3.40.0060.00314.45
7.3.30.0120.00314.74
7.3.20.0030.00616.60
7.3.10.0070.00516.49
7.3.00.0070.00316.52
7.2.330.0110.00816.63
7.2.320.0140.00916.25
7.2.310.0050.01116.44
7.2.300.0160.00816.58
7.2.290.0130.00316.71
7.2.260.0060.01314.86
7.2.250.0070.01015.11
7.2.240.0090.00914.76
7.2.230.0030.00615.11
7.2.220.0000.01014.62
7.2.210.0120.00415.03
7.2.200.0030.00914.97
7.2.190.0030.00914.85
7.2.180.0100.00014.61
7.2.170.0060.00315.03
7.2.160.0040.01115.03
7.2.150.0050.00516.75
7.2.140.0000.00816.54
7.2.130.0060.00916.75
7.2.120.0060.00816.77
7.2.110.0080.00816.77
7.2.100.0100.00616.77
7.2.90.0070.00516.83
7.2.80.0070.01016.86
7.2.70.0060.00816.83
7.2.60.0040.01116.83
7.2.50.0090.00616.81
7.2.40.0020.01416.88
7.2.30.0030.01316.66
7.2.20.0070.00916.84
7.2.10.0090.00316.72
7.2.00.0060.00717.63
7.1.330.0000.01115.56
7.1.320.0000.01015.82
7.1.310.0030.00615.81
7.1.300.0060.00615.37
7.1.290.0040.00715.56
7.1.280.0070.00315.63
7.1.270.0030.00615.38
7.1.260.0040.00715.55
7.1.250.0090.00615.66
7.1.240.0100.00315.67
7.1.230.0100.00315.56
7.1.220.0080.00015.41
7.1.210.0030.01415.43
7.1.200.0040.00915.54
7.1.190.0030.01215.61
7.1.180.0100.00615.57
7.1.170.0060.00615.63
7.1.160.0100.00315.70
7.1.150.0030.01415.77
7.1.140.0000.01115.55
7.1.130.0060.00915.46
7.1.120.0080.00815.40
7.1.110.0040.01115.62
7.1.100.0020.01016.80
7.1.90.0100.00015.65
7.1.80.0030.00715.61
7.1.70.0090.00816.10
7.1.60.0190.00925.33
7.1.50.0190.00925.24
7.1.40.0110.01124.95
7.1.30.0140.00825.02
7.1.20.0130.01724.99
7.1.10.0080.01115.84
7.1.00.0040.01316.10
7.0.330.0050.00315.08
7.0.320.0080.00415.17
7.0.310.0040.00815.20
7.0.300.0030.00715.20
7.0.290.0000.01415.16
7.0.280.0100.00715.35
7.0.270.0040.00815.16
7.0.260.0070.00315.28
7.0.250.0060.00615.37
7.0.240.0030.00915.42
7.0.230.0030.00615.27
7.0.220.0110.00415.00
7.0.210.0070.00715.17
7.0.200.0050.00915.78
7.0.190.0050.00916.03
7.0.180.0030.01115.75
7.0.170.0080.00715.65
7.0.160.0080.00815.63
7.0.150.0030.01215.75
7.0.140.0080.00815.85
7.0.130.0050.01015.96
7.0.120.0060.01015.96
7.0.110.0080.00915.59
7.0.100.0030.01515.74
7.0.90.0050.01315.72
7.0.80.0040.01115.66
7.0.70.0060.01215.53
7.0.60.0030.01515.65
7.0.50.0070.00915.80
7.0.40.0070.01114.94
7.0.30.0080.01014.71
7.0.20.0110.00514.79
7.0.10.0060.00814.84
7.0.00.0070.00814.66
5.6.400.0110.00414.56
5.6.390.0000.01114.40
5.6.380.0060.00614.33
5.6.370.0050.00814.32
5.6.360.0090.00414.34
5.6.350.0100.00313.97
5.6.340.0140.00314.37
5.6.330.0060.01314.24
5.6.320.0030.00714.25
5.6.310.0030.00613.98
5.6.300.0030.00514.13
5.6.290.0030.00914.47
5.6.280.0030.01114.34
5.6.270.0030.00714.33
5.6.260.0050.00814.44
5.6.250.0040.00814.38
5.6.240.0000.00814.36
5.6.230.0080.00314.03
5.6.220.0030.01014.19
5.6.210.0080.00813.90
5.6.200.0030.00614.64
5.6.190.0090.00614.45
5.6.180.0080.00314.31
5.6.170.0040.01114.39
5.6.160.0040.00414.18
5.6.150.0120.00314.40
5.6.140.0070.00714.30
5.6.130.0000.01614.45
5.6.120.0090.00014.41
5.6.110.0070.00714.24
5.6.100.0140.00014.34
5.6.90.0110.00314.20
5.6.80.0080.00614.09
5.6.70.0000.00914.40
5.6.60.0070.00714.34
5.6.50.0050.00514.11
5.6.40.0080.00813.99
5.6.30.0040.01214.13
5.6.20.0030.01314.00
5.6.10.0070.00714.47
5.6.00.0030.01214.50

preferences:
47.83 ms | 400 KiB | 5 Q