3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Chicago'); var_dump(mktime(), time());
Output for 7.0.0 - 7.0.16, 7.0.20 - 7.1.1, 7.1.5 - 7.3.0alpha1
Deprecated: mktime(): You should be using the time() function instead in /in/bbmSf on line 5 int(1493651425) int(1493651425)
Output for 7.0.17 - 7.0.18, 7.1.2 - 7.1.4
Deprecated: mktime(): You should be using the time() function instead in /in/bbmSf on line 5 int(1493651424) int(1493651424)
Output for hhvm-3.12.14 - 3.17.3
Strict Warning: mktime(): You should be using the time() function instead in /in/bbmSf on line 5 int(1493651425) int(1493651425)
Output for 5.6.0 - 5.6.30
Strict Standards: mktime(): You should be using the time() function instead in /in/bbmSf on line 5 int(1493651425) int(1493651425)