3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new DateTime(); echo $dt->format("u") . "\n";
based on RV8hV
Output for 7.2.6
002395
Output for 7.2.0
003985
Output for 7.1.20
002759
Output for 7.1.10
003476
Output for 7.1.7
002491
Output for 7.1.6
012698
Output for 7.1.5
010378
Output for 7.1.0
004038
Output for 5.3.19 - 7.0.20
000000