3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page='.'; matches[1]='ololo'; preg_match('#([A-Za-z0-9\-\_]*)#', $page, $matches); var_dump($matches);
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.31
Parse error: syntax error, unexpected '[' in /in/A4JhK on line 3
Process exited with code 255.

preferences:
192.52 ms | 1399 KiB | 68 Q