3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $format = 's z'; $value = '10 224'; $dateTime = \DateTime::createFromFormat($format, $value); echo $dateTime->getTimestamp() . "\n"; echo $dateTime->format($format);
based on MGql1
Output for 5.6.0 - 7.3.0alpha1
-3218177440702 10 5