3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bericht = preg_replace("/\[url=([^[]*)\]([^[]*)\[\/url\]", "<a href='1' target='_blank'>\\2</a>", $bericht)
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected end of file in /in/kkjSM on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected $end in /in/kkjSM on line 2
Process exited with code 255.

preferences:
174.8 ms | 1395 KiB | 51 Q