3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/^http:\/\/.+@[\w\-]$/' , 'http://info@pcds.ca.in', $matches); echo $matches[1]; // 1234

preferences:
35.48 ms | 402 KiB | 5 Q