3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '2014-08-26 09:01:08;IP:95.173.147.4;GID:;REG:77;UID:;(nilovgai);http://www.gibdd.ru/;'; $a = preg_match('@http://[^;]+)@', '1111<a href="1" target="_blank">1</a>', $a); echo $a;
based on GgTfq
Output for 4.3.11 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_match(): Compilation failed: unmatched parentheses at offset 12 in /in/1Vfdn on line 3
Output for 4.3.0 - 4.3.10, hhvm-3.10.0 - 3.12.0
Warning: Compilation failed: unmatched parentheses at offset 12 in /in/1Vfdn on line 3