3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = date( "Y-m-d 11:00:00", strtotime("2 Sunday ago")); $end = date( "Y-m-d 11:00:00", strtotime("Last Sunday")); echo $start . ' - ' . $end;

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0000.01419.58
7.1.100.0040.01218.09
7.1.70.0170.00317.66
7.1.60.0100.01017.66
7.1.50.0150.00817.66
7.1.40.0100.01417.66
7.1.30.0090.01617.66
7.1.20.0070.01817.66
7.1.10.0130.01317.66
7.1.00.0170.01017.66
7.0.200.0120.00617.66
7.0.190.0130.00817.66
7.0.180.0190.00417.66
7.0.170.0110.00917.66
7.0.160.0130.00417.66
7.0.150.0140.00717.66
7.0.140.0070.01017.66
7.0.130.0160.01017.66
7.0.120.0120.00817.66
7.0.110.0070.00917.66
7.0.100.0100.00717.66
7.0.90.0130.00617.66
7.0.80.0050.01117.66
7.0.70.0040.01817.66
7.0.60.0060.01017.66
7.0.50.0080.00817.66
7.0.40.0050.00517.66
7.0.30.0090.00317.66
7.0.20.0120.00317.66
7.0.10.0100.00517.66
7.0.00.0050.00817.66
hhvm-3.17.30.0230.121102.54
hhvm-3.15.40.0180.02165.70
hhvm-3.13.20.0160.126109.70
hhvm-3.12.140.0160.02963.04
hhvm-3.11.10.0530.03590.37
hhvm-3.10.10.0210.02739.02
5.6.300.0040.04920.88
5.6.290.0070.04420.88
5.6.280.0070.04520.97
5.6.270.0030.04820.82
5.6.260.0060.04120.86
5.6.250.0040.04320.95
5.6.240.0090.04720.84
5.6.230.0060.04320.79
5.6.220.0100.04920.79
5.6.210.0100.07720.83
5.6.200.0140.06220.92
5.6.190.0100.03920.73
5.6.180.0030.04820.85
5.6.170.0070.04320.94
5.6.160.0060.04220.95
5.6.150.0070.04020.81
5.6.140.0070.07921.00
5.6.130.0000.05120.81
5.6.120.0110.04620.91
5.6.110.0110.03720.93
5.6.100.0090.04420.81
5.6.90.0190.05520.84
5.6.80.0070.06220.20
5.6.70.0000.04520.30
5.6.60.0060.05520.35
5.6.50.0100.04120.25
5.6.40.0070.04120.30
5.6.30.0090.05120.39
5.6.20.0100.03820.33
5.6.10.0130.03620.19
5.6.00.0150.02920.07
5.5.380.0040.04417.66
5.5.370.0120.03417.66
5.5.360.0000.05317.66
5.5.350.0030.04017.66
5.5.340.0040.04017.74
5.5.330.0090.03318.03
5.5.320.0000.05217.98
5.5.310.0030.04018.11
5.5.300.0070.03917.86
5.5.290.0070.04018.11
5.5.280.0040.05417.86
5.5.270.0040.04318.08
5.5.260.0060.04117.70
5.5.250.0030.05217.66
5.5.240.0030.04517.66
5.5.230.0090.06817.66
5.5.220.0040.04917.66
5.5.210.0100.03517.66
5.5.200.0070.03717.66
5.5.190.0070.04017.66
5.5.180.0060.03517.66
5.5.160.0060.03417.66
5.5.150.0130.03617.66
5.5.140.0030.04017.66
5.5.130.0060.03417.66
5.5.120.0000.06217.66
5.5.110.0030.03817.66
5.5.100.0170.04417.66
5.5.90.0040.03917.66
5.5.80.0030.03617.66
5.5.70.0040.04917.66
5.5.60.0030.04117.66
5.5.50.0070.03817.66
5.5.40.0070.03717.66
5.5.30.0120.03017.66
5.5.20.0100.03617.66
5.5.10.0030.05017.66
5.5.00.0030.03817.66
5.4.450.0070.03919.43
5.4.440.0060.04019.35
5.4.430.0030.05119.30
5.4.420.0060.03919.46
5.4.410.0000.04719.02
5.4.400.0070.06819.17
5.4.390.0070.03618.91
5.4.380.0040.04018.88
5.4.370.0030.03819.14
5.4.360.0000.04318.98
5.4.350.0040.04319.02
5.4.340.0000.05219.00
5.4.320.0070.03819.17
5.4.310.0000.04219.16
5.4.300.0070.03719.02
5.4.290.0000.04318.97
5.4.280.0030.04218.82
5.4.270.0070.07519.14
5.4.260.0040.04019.14
5.4.250.0030.04219.16
5.4.240.0140.03718.99
5.4.230.0030.06918.97
5.4.220.0030.04018.98
5.4.210.0030.05019.06
5.4.200.0000.05118.97
5.4.190.0190.03818.98
5.4.180.0100.05919.13
5.4.170.0070.03819.03
5.4.160.0030.03818.86
5.4.150.0030.03919.12
5.4.140.0120.03317.66
5.4.130.0060.03217.66
5.4.120.0000.04017.66
5.4.110.0030.04317.66
5.4.100.0090.03517.66
5.4.90.0000.04617.66
5.4.80.0180.03917.66
5.4.70.0100.03317.66
5.4.60.0030.03517.66
5.4.50.0030.04017.66
5.4.40.0000.04317.66
5.4.30.0090.03217.66
5.4.20.0000.03717.66
5.4.10.0030.03617.66
5.4.00.0030.06617.66
5.3.290.0000.04417.66
5.3.280.0040.03517.66
5.3.270.0030.07017.66
5.3.260.0000.04217.66
5.3.250.0030.04017.66
5.3.240.0000.04017.66
5.3.230.0070.03917.66
5.3.220.0060.03417.66
5.3.210.0060.03717.66
5.3.200.0060.07117.66
5.3.190.0030.05417.66
5.3.180.0030.03917.66
5.3.170.0000.04217.66
5.3.160.0100.02917.66
5.3.150.0070.03417.66
5.3.140.0030.05417.66
5.3.130.0060.03517.66
5.3.120.0030.05217.66
5.3.110.0030.03717.66
5.3.100.0000.06517.66
5.3.90.0030.03417.66
5.3.80.0240.03717.66
5.3.70.0070.04417.66
5.3.60.0030.05717.66
5.3.50.0070.06617.66
5.3.40.0100.02917.66
5.3.30.0210.02817.66
5.3.20.0040.03617.66
5.3.10.0030.04517.66
5.3.00.0000.04417.66
5.2.170.0070.05617.66
5.2.160.0040.02817.66
5.2.150.0060.02617.66
5.2.140.0000.03217.66
5.2.130.0030.03017.66
5.2.120.0030.03117.66
5.2.110.0000.03117.66
5.2.100.0030.03117.66
5.2.90.0060.02717.66
5.2.80.0060.02617.66
5.2.70.0040.03317.66
5.2.60.0030.03917.66
5.2.50.0000.03817.66
5.2.40.0030.03017.66
5.2.30.0000.04117.66
5.2.20.0000.03217.66
5.2.10.0000.03517.66
5.2.00.0060.02517.66
5.1.60.0000.02817.66
5.1.50.0000.02717.66
5.1.40.0030.02317.66
5.1.30.0000.02917.66
5.1.20.0070.02217.66
5.1.10.0060.02217.66
5.1.00.0030.02817.66
5.0.50.0000.02217.66
5.0.40.0000.02817.66
5.0.30.0040.03217.66
5.0.20.0220.01617.66
5.0.10.0000.02417.66
5.0.00.0000.03417.66
4.4.90.0030.01617.66
4.4.80.0000.01817.66
4.4.70.0170.01017.66
4.4.60.0030.01617.66
4.4.50.0040.01517.66
4.4.40.0000.02917.66
4.4.30.0000.02017.66
4.4.20.0000.01917.66
4.4.10.0000.01817.66
4.4.00.0000.03317.66
4.3.110.0030.01717.66
4.3.100.0040.01417.66
4.3.90.0180.00617.66
4.3.80.0000.02717.66
4.3.70.0060.00917.66
4.3.60.0030.01317.66
4.3.50.0040.01417.66
4.3.40.0030.02417.66
4.3.30.0040.01517.66
4.3.20.0000.01917.66
4.3.10.0040.01517.66
4.3.00.0000.01817.66