3v4l.org

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

preferences:
30.87 ms | 402 KiB | 5 Q