3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = new Datetime(); var_dump($t->format("Y-m-d\TH:s:i"));
based on AgW5k
Output for 5.6.0 - 5.6.4, 5.6.6 - 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.3.0beta1
string(19) "2018-03-14T09:22:38"
Output for 5.6.5, hhvm-3.22.0
string(19) "2018-03-14T09:23:38"