3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Montevideo'); $hoy = date('d-m-Y H:i:s'); $hoystr = strtotime($hoy); $mañana = date('d-m-Y H:i:s',strtotime('+1 day', $hoystr)); echo $hoy; echo "\n"; echo $mañana; echo "\n"; echo date('H:i',$hoystr); echo "\n"; echo strtotime('09:00:00');
based on 133RI

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).
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.60.0120.00317.12
7.2.00.0000.01219.59
7.1.200.0000.01016.01
7.1.100.0030.00618.26
7.1.70.0060.00617.46
7.1.60.0100.01319.19
7.1.50.0070.00316.97
7.1.00.0030.07722.40
7.0.200.0000.00817.02
7.0.100.0130.07321.70
7.0.90.0070.08021.73
7.0.80.0000.07321.76
7.0.70.0030.04721.76
7.0.60.0070.07321.82
7.0.50.0070.04722.09
7.0.40.0000.05020.00
7.0.30.0030.08020.14
7.0.20.0100.07020.07
7.0.10.0170.07320.16
7.0.00.0030.08720.04
5.6.280.0100.06320.86
5.6.250.0030.08320.48
5.6.240.0070.06720.60
5.6.230.0030.08720.73
5.6.220.0070.07720.57
5.6.210.0130.06320.55
5.6.200.0200.07020.96
5.6.190.0030.08021.11
5.6.180.0130.06721.10
5.6.170.0000.08721.02
5.6.160.0030.08021.11
5.6.150.0030.08721.02
5.6.140.0100.08021.00
5.6.130.0000.09021.11
5.6.120.0170.07321.01
5.6.110.0070.07721.02
5.6.100.0100.08021.02
5.6.90.0070.08020.91
5.6.80.0070.08020.46
5.6.70.0070.08020.31
5.6.60.0100.05020.54
5.6.50.0030.07320.39
5.6.40.0000.08720.46
5.6.30.0030.06020.40
5.6.20.0030.05720.39
5.6.10.0030.06020.36
5.6.00.0100.04320.33
5.5.380.0100.04020.45
5.5.370.0070.07320.39
5.5.360.0000.08720.39
5.5.350.0100.07020.41
5.5.340.0130.07720.89
5.5.330.0170.07320.89
5.5.320.0030.05320.91
5.5.310.0030.08720.86
5.5.300.0000.07720.89
5.5.290.0070.08320.64
5.5.280.0000.07720.83
5.5.270.0070.07720.85
5.5.260.0070.08020.85
5.5.250.0030.07720.73
5.5.240.0070.07320.30
5.5.230.0070.07720.29
5.5.220.0030.07020.01
5.5.210.0070.07020.15
5.5.200.0100.07720.19
5.5.190.0130.08020.12
5.5.180.0070.07720.08
5.5.160.0030.05020.21
5.5.150.0000.07320.27
5.5.140.0100.04019.95
5.5.130.0000.06320.24
5.5.120.0030.07320.14
5.5.110.0030.07720.21
5.5.100.0070.03719.95
5.5.90.0030.07319.94
5.5.80.0070.07319.96
5.5.70.0070.07720.13
5.5.60.0070.04020.13
5.5.50.0030.08020.09
5.5.40.0130.05320.08
5.5.30.0070.07019.99
5.5.20.0070.07720.07
5.5.10.0030.08020.04
5.5.00.0030.05020.12
5.4.450.0100.07719.45
5.4.440.0030.07719.14
5.4.430.0100.06719.41
5.4.420.0130.03719.35
5.4.410.0000.08319.14
5.4.400.0000.08018.97
5.4.390.0030.07019.07
5.4.380.0030.07018.81
5.4.370.0000.04718.89
5.4.360.0030.06319.02
5.4.350.0030.08018.95
5.4.340.0030.07718.96
5.4.320.0000.04018.81
5.4.310.0030.05318.90
5.4.300.0100.04318.94
5.4.290.0030.07719.11
5.4.280.0030.07018.83
5.4.270.0030.06019.05
5.4.260.0030.05018.78
5.4.250.0000.08019.09
5.4.240.0000.07718.89
5.4.230.0030.04719.02
5.4.220.0030.08019.21
5.4.210.0070.07318.78
5.4.200.0100.06018.95
5.4.190.0170.03019.13
5.4.180.0030.07318.95
5.4.170.0070.07018.88
5.4.160.0000.04019.09
5.4.150.0170.05318.95
5.4.140.0000.07316.29
5.4.130.0030.06316.27
5.4.120.0000.06316.27
5.4.110.0030.07716.48
5.4.100.0070.06316.45
5.4.90.0000.05316.36
5.4.80.0070.06716.45
5.4.70.0070.06316.35
5.4.60.0030.07016.20
5.4.50.0030.07016.20
5.4.40.0000.07016.23
5.4.30.0070.06716.19
5.4.20.0070.07016.31
5.4.10.0000.05316.28
5.4.00.0000.07315.51