3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match("^010200060000\|(.|\n)?$",010200060000|); echo $matches[1]; // 1234
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28, 5.5.0 - 5.5.12
Parse error: syntax error, unexpected ')' in /in/MeOpj on line 2
Process exited with code 255.

preferences:
224.39 ms | 940 KiB | 79 Q