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_replace('#(http[s]?://[^;]+);#', '<a href="\1" target="_blank">\1</a>', $a);echo $a;
based on pmpiE
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/XupsR
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '2014-08-26+09%3A01%3A08%3BIP%3A95.173.147.4%3BGID%3A%3BREG%3A77%3BUID%3A%3B%28nilovgai%29%3Bhttp%3A%2F%2Fwww.gibdd.ru%2F%3B'
   3     1        INIT_FCALL                                               'preg_replace'
         2        SEND_VAL                                                 '%23%28http%5Bs%5D%3F%3A%2F%2F%5B%5E%3B%5D%2B%29%3B%23'
         3        SEND_VAL                                                 '%3Ca+href%3D%22%5C1%22+target%3D%22_blank%22%3E%5C1%3C%2Fa%3E'
         4        SEND_VAR                                                 !0
         5        DO_ICALL                                         $2      
         6        ASSIGN                                                   !0, $2
         7        ECHO                                                     !0
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0