3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { const BAR = 20; } namespace { var_dump(\foo\BAR); var_dump(\Foo\BAR); }

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.4.120.0050.00520.54
8.4.110.0120.00818.70
8.4.100.0130.00818.86
8.4.90.0130.00320.71
8.4.80.0120.00618.71
8.4.70.0070.00120.52
8.4.60.0150.00620.63
8.4.50.0060.00218.66
8.4.40.0040.00417.48
8.4.30.0040.01518.86
8.4.20.0100.01019.67
8.4.10.0040.00419.40
8.3.250.0140.00518.80
8.3.240.0100.00716.53
8.3.230.0130.00616.73
8.3.220.0060.00319.05
8.3.210.0100.00818.43
8.3.200.0040.00516.46
8.3.190.0090.00917.03
8.3.180.0050.00419.02
8.3.170.0090.00918.68
8.3.160.0150.00416.50
8.3.150.0160.00316.98
8.3.140.0070.01020.85
8.3.130.0000.01018.30
8.3.120.0030.00618.86
8.3.110.0040.00416.41
8.3.100.0000.01024.06
8.3.90.0080.00026.77
8.3.80.0220.00730.84
8.3.70.0280.00430.84
8.3.60.0300.00330.84
8.3.50.0110.00730.84
8.3.40.0250.00530.84
8.3.30.0210.00330.84
8.3.20.0210.00330.84
8.3.10.0150.00630.84
8.3.00.0160.00330.84
8.2.290.0110.00720.06
8.2.280.0150.00418.09
8.2.270.0140.00417.09
8.2.260.0070.01118.03
8.2.250.0030.00616.61
8.2.240.0130.00317.15
8.2.230.0070.00320.94
8.2.220.0090.00937.54
8.2.210.0150.00426.77
8.2.200.0180.00430.84
8.2.190.0150.00930.84
8.2.180.0190.00430.84
8.2.170.0210.00630.84
8.2.160.0240.00330.84
8.2.150.0160.00630.84
8.2.140.0210.00630.84
8.2.130.0180.00930.84
8.2.120.0210.00330.84
8.2.110.0110.01130.84
8.2.100.0200.00430.84
8.2.90.0220.00330.84
8.2.80.0140.01430.84
8.2.70.0170.00730.84
8.2.60.0200.00830.84
8.2.50.0210.00330.84
8.2.40.0200.00030.84
8.2.30.0120.00930.84
8.2.20.0220.00030.84
8.2.10.0250.00730.84
8.2.00.0340.00830.84
8.1.330.0110.00821.82
8.1.320.0140.00617.69
8.1.310.0120.00616.66
8.1.300.0060.01316.05
8.1.290.0430.00830.84
8.1.280.0320.01230.84
8.1.270.0330.01030.84
8.1.260.0330.00830.84
8.1.250.0320.00630.84
8.1.240.0210.00330.84
8.1.230.0160.00830.84
8.1.220.0130.00930.84
8.1.210.0160.00430.84
8.1.200.0220.00030.84
8.1.190.0160.00430.84
8.1.180.0240.00030.84
8.1.170.0210.00330.84
8.1.160.0170.00830.84
8.1.150.0260.00330.84
8.1.140.0190.00530.84
8.1.130.0210.00430.84
8.1.120.0120.01230.84
8.1.110.0220.00430.84
8.1.100.0250.00030.84
8.1.90.0120.01230.84
8.1.80.0180.00430.84
8.1.70.0150.00630.84
8.1.60.0230.00330.84
8.1.50.0180.00430.84
8.1.40.0160.00730.84
8.1.30.0220.00030.84
8.1.20.0260.00030.84
8.1.10.0270.00030.84
8.1.00.0230.00830.84

preferences:
28.09 ms | 403 KiB | 5 Q