3v4l.org

run code in 200+ 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 - 7.2.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
Warning: Compilation failed: unmatched parentheses at offset 12 in /in/1Vfdn on line 3