3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/^http:\/\/.+@[\w\-]$/' , 'http://info@pcds.ca.in', $matches); echo $matches[]; // 1234
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
Fatal error: Cannot use [] for reading in /in/S6bJu on line 3
Process exited with code 255.

preferences:
184.05 ms | 1395 KiB | 61 Q