3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( DateTime::createFromFormat('G:iA', '15:00PM'), DateTime::createFromFormat('g:iA', '3:00PM') );

preferences:
63.08 ms | 408 KiB | 5 Q