3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = time(); $last_30d = strtotime(date('Y-m-d',strtotime('-30 day', $now))); echo $last_30d;
Output for 4.3.0 - 7.2.0
1425855600