3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(time()); var_dump(mktime()); var_dump(strtotime('Today 0:00')); ?>
based on 4ahWI
Output for 7.0.0 - 7.1.0
int(1413988188) Deprecated: mktime(): You should be using the time() function instead in /in/SoLHs on line 3 int(1413988188) int(1413928800)
Output for hhvm-3.10.0 - 3.12.0
int(1413988188) Strict Warning: mktime(): You should be using the time() function instead in /in/SoLHs on line 3 int(1413988188) int(1413928800)
Output for 5.1.2 - 5.4.27, 5.4.29 - 5.6.28
int(1413988188) Strict Standards: mktime(): You should be using the time() function instead in /in/SoLHs on line 3 int(1413988188) int(1413928800)
Output for 5.4.28
int(1413988187) Strict Standards: mktime(): You should be using the time() function instead in /in/SoLHs on line 3 int(1413988187) int(1413928800)
Output for 5.1.0 - 5.1.1
int(1413988188) Strict Standards: mktime(): You should be using the time() function instead in /in/SoLHs on line 3 int(1413988188) bool(false)
Output for 4.3.0, 4.3.2 - 5.0.5
int(1413988188) int(1413988188) int(1413928800)
Output for 4.3.1
int(1413988187) int(1413988187) int(1413928800)