3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current = date('Y-m-d H:i:s'); echo "Current time: {$current}\n"; $test = date('Y-m-d H:i:s', time() + 3600); echo "Test time: {$test}\n";
based on KvTES
Output for 4.3.0 - 7.1.0
Current time: 2014-08-14 11:36:20 Test time: 2014-08-14 12:36:20