3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dd = array(2,4,6); echo date('Y-m-d', strtotime("+$dd[1] days"));
Output for 4.3.0 - 7.1.10
2016-05-30