3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bericht = preg_replace("/\[url=([^[]*)\]([^[]*)\[\/url\]", "<a href='1' target='_blank'>\\2</a>", $bericht);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: bericht in /in/4bQRR on line 2 Warning: preg_replace(): No ending delimiter '/' found in /in/4bQRR on line 2
Output for 4.3.11 - 5.0.3
Notice: Undefined variable: bericht in /in/4bQRR on line 2 Warning: preg_replace(): No ending delimiter '/' found in /in/4bQRR on line 2
Output for 4.3.0 - 4.3.10
Notice: Undefined variable: bericht in /in/4bQRR on line 2 Warning: No ending delimiter '/' found in /in/4bQRR on line 2