3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class bar {} } namespace { use \foo; echo \foo\bar::class . "\n"; echo foo\bar::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.0150.00016.50
8.3.50.0080.00616.50
8.3.40.0120.00618.73
8.3.30.0040.01118.84
8.3.20.0040.00420.34
8.3.10.0040.00423.66
8.3.00.0000.00919.67
8.2.180.0140.00718.43
8.2.170.0090.01622.96
8.2.160.0140.00019.08
8.2.150.0080.00024.18
8.2.140.0100.00024.66
8.2.130.0070.00019.38
8.2.120.0040.00426.35
8.2.110.0030.00622.26
8.2.100.0150.00017.52
8.2.90.0000.00819.23
8.2.80.0060.00317.97
8.2.70.0000.00817.35
8.2.60.0050.00317.80
8.2.50.0000.00918.10
8.2.40.0040.00420.58
8.2.30.0050.00219.15
8.2.20.0040.00417.98
8.2.10.0040.00417.90
8.2.00.0000.00817.86
8.1.280.0040.01125.92
8.1.270.0000.00722.00
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00023.84
8.1.230.0040.00722.20
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0030.00617.10
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0040.00418.55
8.1.160.0000.00719.03
8.1.150.0050.00320.49
8.1.140.0030.00419.34
8.1.130.0030.00318.71
8.1.120.0070.00017.30
8.1.110.0070.00017.16
8.1.100.0040.00317.25
8.1.90.0040.00417.36
8.1.80.0030.00317.31
8.1.70.0040.00417.31
8.1.60.0100.00017.42
8.1.50.0050.00317.29
8.1.40.0000.00717.35
8.1.30.0030.00517.43
8.1.20.0080.00017.43
8.1.10.0000.00817.48
8.1.00.0070.00017.40
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0070.00018.33
8.0.270.0000.00717.11
8.0.260.0030.00316.77
8.0.250.0030.00316.80
8.0.240.0070.00016.92
8.0.230.0000.00716.94
8.0.220.0030.00316.86
8.0.210.0060.00316.73
8.0.200.0000.00616.84
8.0.190.0040.00416.84
8.0.180.0070.00016.88
8.0.170.0070.00016.89
8.0.160.0040.00416.82
8.0.150.0000.00816.77
8.0.140.0050.00316.79
8.0.130.0000.00513.28
8.0.120.0030.00616.78
8.0.110.0000.00716.88
8.0.100.0040.00416.80
8.0.90.0070.00016.71
8.0.80.0130.00916.78
8.0.70.0040.00416.73
8.0.60.0070.00016.69
8.0.50.0070.00016.68
8.0.30.0080.01017.11
8.0.20.0090.01017.40
8.0.10.0030.00616.93
8.0.00.0120.00916.64
7.4.330.0000.00515.55
7.4.320.0060.00016.48
7.4.300.0060.00016.31
7.4.290.0050.00216.50
7.4.280.0040.00416.41
7.4.270.0030.00316.31
7.4.260.0000.00716.29
7.4.250.0040.00416.47
7.4.240.0040.00416.47
7.4.230.0000.00716.48
7.4.220.0080.01216.57
7.4.210.0090.00616.48
7.4.200.0030.00316.52
7.4.160.0060.01016.28
7.4.150.0090.01517.40
7.4.140.0130.00717.86
7.4.130.0150.00316.48
7.4.120.0070.01116.50
7.4.110.0100.01016.38
7.4.100.0100.01316.22
7.4.90.0120.00916.20
7.4.80.0110.00719.39
7.4.70.0060.01516.30
7.4.60.0170.00016.33
7.4.50.0040.01416.13
7.4.40.0100.01016.37
7.4.30.0120.00616.46
7.4.00.0070.00714.74
7.3.330.0060.00013.05
7.3.320.0050.00013.18
7.3.310.0020.00516.21
7.3.300.0070.00016.18
7.3.290.0070.01016.20
7.3.280.0100.00716.21
7.3.270.0150.00317.40
7.3.260.0090.00816.33
7.3.250.0070.01016.35
7.3.240.0120.00816.33
7.3.230.0030.01316.27
7.3.210.0090.00616.18
7.3.200.0090.00616.18
7.3.190.0090.00616.30
7.3.180.0060.01516.42
7.3.170.0100.01016.26
7.3.160.0030.01416.37
7.3.10.0070.00716.66
7.3.00.0000.01016.49
7.2.330.0130.00416.52
7.2.320.0100.00716.59
7.2.310.0060.01316.51
7.2.300.0100.00716.38
7.2.290.0140.00516.28
7.2.130.0060.01316.46
7.2.120.0030.00616.64
7.2.110.0030.01016.35
7.2.100.0110.00716.63
7.2.90.0070.00716.30
7.2.80.0000.01316.55
7.2.70.0100.01016.54
7.2.60.0140.00316.69
7.2.50.0190.00516.69
7.2.40.0110.01116.54
7.2.30.0030.01216.75
7.2.20.0180.00316.75
7.2.10.0070.01116.77
7.2.00.0150.00617.94
7.1.250.0040.01115.53
7.1.200.0040.00715.67
7.1.100.0000.01217.85
7.1.70.0070.01016.88
7.1.60.0260.01534.96
7.1.50.0280.00334.86
7.1.40.0220.01334.32
7.1.30.0300.01234.35
7.1.20.0210.01234.21
7.1.10.0140.00616.30
7.1.00.0120.00916.58
7.0.200.0100.00516.64
7.0.190.0060.01116.70
7.0.180.0090.01016.28
7.0.170.0000.01516.14
7.0.160.0100.01216.07
7.0.150.0050.01016.05
7.0.140.0070.01416.18
7.0.130.0070.01416.40
7.0.120.0150.00616.44
7.0.110.0070.01416.37
7.0.100.0060.01316.14
7.0.90.0030.01216.11
7.0.80.0060.01316.16
7.0.70.0080.01116.32
7.0.60.0060.01316.07
7.0.50.0120.01216.16
7.0.40.0060.01316.43
7.0.30.0030.01716.30
7.0.20.0170.00716.30
7.0.10.0060.01316.50
7.0.00.0090.01416.36

preferences:
52.45 ms | 400 KiB | 5 Q