3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace baz { class bazbaz {} } namespace foo { use baz; class bar {} echo foo\bar::class . "\n"; echo \foo\bar::class . "\n"; echo bar\baz::class . "\n"; echo \bar\baz::class . "\n"; }

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.01416.63
8.3.50.0140.00716.15
8.3.40.0080.00818.59
8.3.30.0150.00018.60
8.3.20.0000.00720.32
8.3.10.0030.00523.51
8.3.00.0040.00419.42
8.2.180.0100.00616.38
8.2.170.0130.00422.96
8.2.160.0120.00319.09
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00419.30
8.2.120.0020.00526.35
8.2.110.0100.00020.39
8.2.100.0060.00617.78
8.2.90.0050.00319.09
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0040.00417.92
8.2.50.0040.00418.10
8.2.40.0040.00420.34
8.2.30.0000.00820.97
8.2.20.0000.00717.97
8.2.10.0000.00717.92
8.2.00.0070.00017.86
8.1.280.0100.00725.92
8.1.270.0040.00422.14
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0100.00021.97
8.1.230.0080.00319.19
8.1.220.0070.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.48
8.1.160.0070.00018.98
8.1.150.0000.00818.66
8.1.140.0040.00419.36
8.1.130.0030.00318.79
8.1.120.0040.00417.30
8.1.110.0050.00317.20
8.1.100.0070.00017.34
8.1.90.0030.00517.35
8.1.80.0000.00717.29
8.1.70.0000.00717.34
8.1.60.0040.00417.47
8.1.50.0030.00517.32
8.1.40.0040.00417.40
8.1.30.0040.00417.58
8.1.20.0000.00717.57
8.1.10.0000.00717.36
8.1.00.0050.00317.43
8.0.300.0040.00419.84
8.0.290.0040.00416.63
8.0.280.0030.00318.42
8.0.270.0030.00517.11
8.0.260.0060.00016.65
8.0.250.0070.00016.83
8.0.240.0000.00816.82
8.0.230.0040.00416.86
8.0.220.0070.00016.77
8.0.210.0080.00016.64
8.0.200.0030.00316.79
8.0.190.0000.00916.84
8.0.180.0000.00816.69
8.0.170.0040.00416.75
8.0.160.0000.00716.71
8.0.150.0000.00816.73
8.0.140.0050.00316.70
8.0.130.0030.00313.18
8.0.120.0050.00316.63
8.0.110.0000.00716.57
8.0.100.0070.00016.75
8.0.90.0050.00216.62
8.0.80.0120.00616.81
8.0.70.0020.00516.79
8.0.60.0050.00216.64
8.0.50.0050.00316.78
8.0.30.0080.01117.04
8.0.20.0110.01017.40
8.0.10.0050.00316.66
8.0.00.0130.00316.37
7.4.330.0030.00315.55
7.4.320.0040.00416.38
7.4.300.0060.00016.48
7.4.290.0070.00016.46
7.4.280.0030.00316.30
7.4.270.0030.00316.38
7.4.260.0040.00416.43
7.4.250.0000.00816.34
7.4.240.0040.00416.35
7.4.230.0070.00016.35
7.4.220.0100.01016.48
7.4.210.0130.00716.23
7.4.200.0000.00716.28
7.4.160.0090.01016.29
7.4.150.0130.01317.40
7.4.140.0120.01117.86
7.4.130.0040.01416.57
7.4.120.0110.01116.39
7.4.110.0110.00516.46
7.4.100.0100.00716.26
7.4.90.0160.00316.21
7.4.80.0070.01319.39
7.4.70.0100.00716.32
7.4.60.0060.01616.38
7.4.50.0100.00616.33
7.4.40.0080.00816.40
7.4.30.0090.01316.25
7.4.00.0040.01214.64
7.3.330.0030.00312.99
7.3.320.0000.00513.16
7.3.310.0040.00416.06
7.3.300.0000.00616.02
7.3.290.0080.00716.10
7.3.280.0090.00916.14
7.3.270.0090.00917.40
7.3.260.0070.01016.23
7.3.250.0090.00716.12
7.3.240.0100.00916.17
7.3.230.0170.00016.43
7.3.210.0030.01316.33
7.3.200.0070.01416.31
7.3.190.0130.00316.30
7.3.180.0130.00316.19
7.3.170.0140.00616.32
7.3.160.0100.00616.43
7.3.120.0070.00714.67
7.3.110.0040.01114.89
7.3.100.0030.00714.73
7.3.90.0000.01414.91
7.3.80.0000.01214.82
7.3.70.0000.01314.52
7.3.60.0100.00714.74
7.3.50.0100.00314.66
7.3.40.0000.01414.81
7.3.30.0060.00614.67
7.3.20.0040.01216.45
7.3.10.0030.01316.55
7.3.00.0120.00316.19
7.2.330.0070.01116.46
7.2.320.0090.00916.53
7.2.310.0100.00616.38
7.2.300.0030.01416.48
7.2.290.0090.01216.55
7.2.240.0000.01314.88
7.2.230.0030.01014.62
7.2.220.0000.01515.07
7.2.210.0040.01214.96
7.2.200.0070.00714.79
7.2.190.0000.01715.09
7.2.180.0030.00815.07
7.2.170.0060.00914.92
7.2.160.0060.00615.01
7.2.150.0080.00416.87
7.2.140.0080.00816.80
7.2.130.0100.00316.84
7.2.120.0030.01316.88
7.2.110.0040.01116.71
7.2.100.0070.00316.93
7.2.90.0060.00816.84
7.2.80.0000.01216.75
7.2.70.0030.00716.80
7.2.60.0070.00816.71
7.2.50.0030.01016.84
7.2.40.0060.00916.98
7.2.30.0000.01116.84
7.2.20.0090.00616.87
7.2.10.0120.00316.88
7.2.00.0000.01117.96
7.1.330.0100.00315.71
7.1.320.0030.00715.92
7.1.310.0030.00515.41
7.1.300.0000.01415.46
7.1.290.0040.01215.81
7.1.280.0000.01615.44
7.1.270.0030.01315.35
7.1.260.0090.00615.66
7.1.250.0110.00415.53
7.1.200.0040.00815.71
7.1.100.0000.01118.00
7.1.70.0090.00917.09
7.1.60.0200.01334.96
7.1.50.0300.01334.82
7.1.40.0220.01934.18
7.1.30.0230.01934.40
7.1.20.0400.00034.48
7.1.10.0090.01316.49
7.1.00.0150.00616.74
7.0.200.0070.01616.76
7.0.190.0030.01616.70
7.0.180.0120.00915.98
7.0.170.0120.01015.99
7.0.160.0090.00916.14
7.0.150.0140.00616.07
7.0.140.0150.00615.94
7.0.130.0120.00916.31
7.0.120.0090.00916.44
7.0.110.0060.00915.97
7.0.100.0060.00916.10
7.0.90.0110.00816.07
7.0.80.0110.01116.25
7.0.70.0130.00916.25
7.0.60.0140.00416.11
7.0.50.0110.00616.22
7.0.40.0040.01616.30
7.0.30.0120.00916.30
7.0.20.0000.02016.21
7.0.10.0070.01416.22
7.0.00.0100.01016.28

preferences:
47.51 ms | 401 KiB | 5 Q