3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = "$1?1?2/:1$2?3?4?5/:2$3E/:3$8?1?2/:4$5$7E/:5$6$7E/:1$7E/:2$4/" preg_match_all('~\$\K\d+~', $code, $matches); print_r($matches[0]);
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected 'preg_match_all' (T_STRING) in /in/8rVcI on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/8rVcI on line 3
Process exited with code 255.

preferences:
172.79 ms | 1395 KiB | 67 Q