3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = new DateTime('NOW'); //echo $d->format('w'); //echo date('w', strtotime($d->format('Y-m-d'))); echo date('G:i:s', strtotime($d->format('Y-m-d h:m:s'));
Output for 5.3.0 - 5.5.12
Parse error: syntax error, unexpected ';' in /in/N1vRP on line 5
Process exited with code 255.