3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(time()); var_dump(mktime()); var_dump(gmstrtotime('Today 0:00')); ?>
based on SoLHs
Output for 7.0.0 - 7.1.0
int(1413988197) Deprecated: mktime(): You should be using the time() function instead in /in/Q3kBa on line 3 int(1413988197) Fatal error: Uncaught Error: Call to undefined function gmstrtotime() in /in/Q3kBa:4 Stack trace: #0 {main} thrown in /in/Q3kBa on line 4
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
int(1413988197) Strict Warning: mktime(): You should be using the time() function instead in /in/Q3kBa on line 3 int(1413988197) Fatal error: Call to undefined function gmstrtotime() in /in/Q3kBa on line 4
Process exited with code 255.
Output for 5.1.0 - 5.6.28
int(1413988197) Strict Standards: mktime(): You should be using the time() function instead in /in/Q3kBa on line 3 int(1413988197) Fatal error: Call to undefined function gmstrtotime() in /in/Q3kBa on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
int(1413988197) int(1413988197) Fatal error: Call to undefined function gmstrtotime() in /in/Q3kBa on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
int(1413988197) int(1413988197) Fatal error: Call to undefined function: gmstrtotime() in /in/Q3kBa on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
int(1413988197) int(1413988197) Fatal error: Call to undefined function: gmstrtotime() in /in/Q3kBa on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
int(1413988197) int(1413988197) Fatal error: Call to undefined function: gmstrtotime() in /in/Q3kBa on line 4