3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace strict { class Foo {} } namespace { error_reporting(-1); } namespace { use strict; }

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.0100.01016.63
8.3.50.0150.00321.90
8.3.40.0090.00618.51
8.3.30.0070.00718.86
8.3.20.0040.00420.16
8.3.10.0030.00523.54
8.3.00.0070.00020.56
8.2.180.0120.00916.50
8.2.170.0090.01222.96
8.2.160.0100.00322.06
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00322.08
8.2.110.0030.00622.11
8.2.100.0000.01117.78
8.2.90.0070.00019.09
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0040.00419.28
8.2.30.0000.00717.80
8.2.20.0040.00417.51
8.2.10.0040.00417.43
8.2.00.0070.00017.61
8.1.280.0090.00925.92
8.1.270.0000.00821.93
8.1.260.0000.00726.35
8.1.250.0140.00028.09
8.1.240.0040.00423.80
8.1.230.0070.00419.16
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.22
8.1.190.0040.00417.15
8.1.180.0060.00318.10
8.1.170.0000.00818.35
8.1.160.0050.00321.88
8.1.150.0040.00418.41
8.1.140.0000.00717.27
8.1.130.0000.00617.75
8.1.120.0000.00817.20
8.1.110.0070.00017.30
8.1.100.0050.00217.25
8.1.90.0030.00317.23
8.1.80.0000.00817.34
8.1.70.0030.00317.30
8.1.60.0060.00317.45
8.1.50.0030.00517.29
8.1.40.0040.00417.42
8.1.30.0050.00317.38
8.1.20.0000.00717.55
8.1.10.0000.00717.42
8.1.00.0060.00317.29
8.0.300.0050.00218.77
8.0.290.0040.00416.91
8.0.280.0040.00418.29
8.0.270.0000.00717.03
8.0.260.0070.00016.71
8.0.250.0050.00216.91
8.0.240.0030.00316.76
8.0.230.0000.00716.92
8.0.220.0040.00416.82
8.0.210.0050.00316.71
8.0.200.0030.00316.92
8.0.190.0030.00316.86
8.0.180.0040.00416.82
8.0.170.0040.00416.74
8.0.160.0040.00416.77
8.0.150.0000.01016.70
8.0.140.0080.00016.86
8.0.130.0060.00013.24
8.0.120.0060.00316.82
8.0.110.0040.00416.80
8.0.100.0000.00816.79
8.0.90.0040.00316.62
8.0.80.0130.00716.81
8.0.70.0070.00016.67
8.0.60.0030.00516.85
8.0.50.0000.00716.64
8.0.30.0130.01017.08
8.0.20.0060.01217.40
8.0.10.0030.00516.84
8.0.00.0100.01116.56
7.4.330.0000.00515.00
7.4.320.0000.00716.36
7.4.300.0000.00616.48
7.4.290.0030.00316.37
7.4.280.0000.00616.43
7.4.270.0000.00716.42
7.4.260.0000.00916.38
7.4.250.0000.00816.40
7.4.240.0060.00216.38
7.4.230.0030.00316.47
7.4.220.0160.01016.42
7.4.210.0090.00516.40
7.4.200.0000.00716.44
7.4.190.0000.00716.37
7.4.160.0060.01016.44
7.4.150.0070.01017.40
7.4.140.0130.00617.86
7.4.130.0070.01016.39
7.4.120.0110.00516.47
7.4.110.0150.00316.37
7.4.100.0120.00616.44
7.4.90.0130.00316.29
7.4.80.0080.00816.38
7.4.70.0060.01116.41
7.4.60.0130.00316.29
7.4.50.0030.00616.16
7.4.40.0030.01322.77
7.4.30.0070.01016.45
7.3.330.0000.00513.23
7.3.320.0000.00513.09
7.3.310.0070.00016.23
7.3.300.0030.00316.23
7.3.290.0090.00616.20
7.3.280.0110.00816.24
7.3.270.0150.00317.40
7.3.260.0120.01216.14
7.3.250.0110.01016.27
7.3.240.0120.00416.17
7.3.230.0030.01416.44
7.3.210.0030.01316.15
7.3.200.0070.01419.39
7.3.190.0060.01616.16
7.3.180.0120.00316.09
7.3.170.0090.00616.30
7.3.160.0120.00316.15
7.2.330.0060.01216.22
7.2.320.0100.00716.25
7.2.310.0110.00716.26
7.2.300.0070.01016.38
7.2.290.0030.01316.33
5.4.170.0210.03912.38
5.4.160.0130.04612.37
5.4.150.0160.04412.37
5.4.140.0160.04312.05
5.4.130.0130.04512.04
5.4.120.0240.07811.99
5.4.110.0150.04311.99
5.4.100.0160.04211.99
5.4.90.0160.04111.99
5.4.80.0180.03911.99
5.4.70.0150.04211.99
5.4.60.0180.05411.99
5.4.50.0120.04311.99
5.4.40.0180.03811.98
5.4.30.0160.04211.97
5.4.20.0160.04011.97
5.4.10.0150.04111.97
5.4.00.0110.04511.46
5.3.290.0060.05112.80
5.3.280.0050.03812.71
5.3.270.0150.04512.72
5.3.260.0120.04712.72
5.3.250.0210.04212.72
5.3.240.0170.04312.72
5.3.230.0160.04612.71
5.3.220.0210.04012.68
5.3.210.0210.05412.68
5.3.200.0160.04412.68
5.3.190.0210.07012.68
5.3.180.0190.04112.67
5.3.170.0210.05312.66
5.3.160.0150.04512.67
5.3.150.0180.04212.67
5.3.140.0180.05712.66
5.3.130.0190.04012.66
5.3.120.0160.04412.66
5.3.110.0180.04212.66
5.3.100.0240.05012.12
5.3.90.0130.04512.08
5.3.80.0190.05612.07
5.3.70.0150.04512.07
5.3.60.0150.04312.06
5.3.50.0140.04512.00
5.3.40.0190.05412.00
5.3.30.0140.04311.97
5.3.20.0150.04211.75
5.3.10.0190.05211.71
5.3.00.0150.04111.69

preferences:
35.08 ms | 401 KiB | 5 Q