3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 'Monday at 12:33 PM'; preg_match('/\w+\s(\d+):\d+/', $time, $matches); print $matches[1]; ?>

preferences:
36.84 ms | 402 KiB | 5 Q