3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data=new DateTime('0/12/2013'); print_r($data); echo ((31)%31)."\n"; echo date('d'); echo ((30+1)%31)."\n"; echo $data->add(new DateInterval('10D')."\n";
Output for 5.3.0 - 5.5.6
Parse error: syntax error, unexpected ';' in /in/NIeGE on line 8
Process exited with code 255.