3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $today = date("Y-m-d H:i:s"); $modtime = date( "Y-m-d H:i:s", strtotime( $today ) + (2*60 * 60)); var_dump($today, $modtime);
Output for 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(19) "2013-11-27 18:03:32" string(19) "2013-11-27 20:03:32"