3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(datetime::createFromFormat('!h H a', '01 13 pm')); // should be "1970-01-01 13:00:00.000000"

preferences:
65.02 ms | 407 KiB | 5 Q