3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo\bar { class baz {} } namespace { use foo\bar; echo \foo\bar\baz::class . "\n"; echo foo\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.0060.00916.38
8.3.50.0100.00316.14
8.3.40.0130.00318.63
8.3.30.0110.00418.57
8.3.20.0030.00719.98
8.3.10.0070.00023.71
8.3.00.0040.00419.68
8.2.180.0170.00316.50
8.2.170.0070.01422.96
8.2.160.0100.00318.95
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00019.45
8.2.120.0040.00426.35
8.2.110.0050.00520.53
8.2.100.0070.00417.78
8.2.90.0000.00819.18
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0070.00017.91
8.2.50.0040.00418.10
8.2.40.0040.00420.62
8.2.30.0000.00819.18
8.2.20.0000.00717.79
8.2.10.0070.00017.86
8.2.00.0000.00917.97
8.1.280.0060.00825.92
8.1.270.0000.00722.25
8.1.260.0050.00526.35
8.1.250.0050.00328.09
8.1.240.0100.00023.76
8.1.230.0080.00321.91
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0060.00317.23
8.1.180.0030.00618.10
8.1.170.0000.00818.66
8.1.160.0070.00018.95
8.1.150.0030.00520.55
8.1.140.0000.00719.35
8.1.130.0070.00018.80
8.1.120.0070.00017.25
8.1.110.0080.00017.30
8.1.100.0100.00017.36
8.1.90.0040.00417.35
8.1.80.0000.00817.29
8.1.70.0070.00017.34
8.1.60.0000.00717.43
8.1.50.0000.00817.40
8.1.40.0040.00417.32
8.1.30.0040.00417.50
8.1.20.0000.00717.58
8.1.10.0060.00317.54
8.1.00.0040.00417.34
8.0.300.0000.00818.77
8.0.290.0000.00816.63
8.0.280.0030.00318.30
8.0.270.0070.00017.26
8.0.260.0000.00616.75
8.0.250.0030.00316.71
8.0.240.0000.00716.79
8.0.230.0040.00416.82
8.0.220.0020.00516.81
8.0.210.0000.00816.64
8.0.200.0030.00316.68
8.0.190.0000.00816.85
8.0.180.0040.00416.77
8.0.170.0000.00716.77
8.0.160.0070.00016.75
8.0.150.0050.00316.67
8.0.140.0030.00316.68
8.0.130.0090.00013.22
8.0.120.0030.00616.68
8.0.110.0000.00716.78
8.0.100.0070.00016.58
8.0.90.0000.00716.62
8.0.80.0030.01316.72
8.0.70.0040.00416.81
8.0.60.0020.00516.58
8.0.50.0030.00316.86
8.0.30.0080.00916.96
8.0.20.0100.01117.40
8.0.10.0030.00616.75
8.0.00.0030.01416.63
7.4.330.0050.00015.55
7.4.320.0000.00816.38
7.4.300.0030.00316.43
7.4.290.0040.00416.50
7.4.280.0060.00316.34
7.4.270.0000.00716.31
7.4.260.0050.00316.36
7.4.250.0030.00316.41
7.4.240.0030.00316.44
7.4.230.0070.00016.35
7.4.220.0100.01616.39
7.4.210.0100.01016.52
7.4.200.0030.00316.56
7.4.160.0100.00616.49
7.4.150.0200.00717.40
7.4.140.0090.01217.86
7.4.130.0170.00016.26
7.4.120.0100.01116.47
7.4.110.0090.00616.33
7.4.100.0120.00616.41
7.4.90.0030.01616.28
7.4.80.0110.00619.39
7.4.70.0160.00016.28
7.4.60.0100.00716.34
7.4.50.0070.01016.44
7.4.40.0080.00916.16
7.4.30.0100.00716.56
7.4.00.0080.00914.82
7.3.330.0000.00813.12
7.3.320.0000.00513.17
7.3.310.0030.00316.17
7.3.300.0030.00316.05
7.3.290.0070.00816.18
7.3.280.0090.00816.14
7.3.270.0170.00017.40
7.3.260.0100.01016.29
7.3.250.0110.00616.12
7.3.240.0060.01116.47
7.3.230.0140.00316.52
7.3.210.0130.00316.23
7.3.200.0030.01916.31
7.3.190.0090.00716.38
7.3.180.0060.01016.20
7.3.170.0080.01216.34
7.3.160.0130.00316.34
7.3.120.0070.01014.59
7.3.110.0080.00814.80
7.3.100.0090.00314.61
7.3.90.0090.00414.68
7.3.80.0050.01114.55
7.3.70.0070.00514.40
7.3.60.0050.00714.62
7.3.50.0000.01214.85
7.3.40.0050.00414.65
7.3.30.0070.00914.61
7.3.20.0060.00816.47
7.3.10.0070.00816.30
7.3.00.0000.01216.42
7.2.330.0040.01516.66
7.2.320.0060.01216.56
7.2.310.0090.01216.41
7.2.300.0110.01116.60
7.2.290.0100.01016.25
7.2.250.0060.01114.89
7.2.240.0070.01214.82
7.2.230.0060.00814.93
7.2.220.0090.00114.78
7.2.210.0060.00814.72
7.2.200.0000.01414.85
7.2.190.0090.00514.93
7.2.180.0030.01114.86
7.2.170.0000.01414.85
7.2.60.0070.00716.44
7.2.00.0030.00919.26
7.1.330.0040.00715.76
7.1.320.0060.00615.43
7.1.310.0110.00315.61
7.1.300.0020.01015.48
7.1.290.0020.01215.73
7.1.280.0060.00415.59
7.1.270.0060.00815.69
7.1.260.0070.00415.57
7.1.200.0000.01415.67
7.1.100.0080.00017.98
7.1.70.0080.00716.67
7.1.60.0230.01934.74
7.1.50.0320.01034.73
7.1.40.0360.00734.42
7.1.30.0280.01434.36
7.1.20.0200.01434.40
7.1.10.0060.01316.49
7.1.00.0030.01716.65
7.0.200.0030.01316.86
7.0.190.0130.00616.70
7.0.180.0100.01016.24
7.0.170.0130.00616.02
7.0.160.0070.01016.18
7.0.150.0070.01316.12
7.0.140.0100.01316.22
7.0.130.0100.01016.44
7.0.120.0060.00916.27
7.0.110.0060.00916.21
7.0.100.0060.01416.09
7.0.90.0090.01216.26
7.0.80.0060.01216.38
7.0.70.0070.00916.31
7.0.60.0000.01516.11
7.0.50.0100.00716.23
7.0.40.0080.01316.30
7.0.30.0100.00716.53
7.0.20.0060.01316.36
7.0.10.0080.01316.28
7.0.00.0090.00916.36

preferences:
48.49 ms | 401 KiB | 5 Q