3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('#href="http://(.*)vbulletin\.com(.*)"#', 'href="http://anonym.to/?http://$1vbulletin.com$2"', '<a href="http://w.vbulletin.com/tst">vB</a>'); echo preg_replace('#href="http://(.*)vbulletin\.com(.*)"#', 'href="http://anonym.to/?http://$1vbulletin.com$2"', '<a href="http://vbulletin.com/test">vB</a>');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IEeIo
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%23href%3D%22http%3A%2F%2F%28.%2A%29vbulletin%5C.com%28.%2A%29%22%23'
          2        SEND_VAL                                                 'href%3D%22http%3A%2F%2Fanonym.to%2F%3Fhttp%3A%2F%2F%241vbulletin.com%242%22'
          3        SEND_VAL                                                 '%3Ca+href%3D%22http%3A%2F%2Fw.vbulletin.com%2Ftst%22%3EvB%3C%2Fa%3E'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
    3     6        INIT_FCALL                                               'preg_replace'
          7        SEND_VAL                                                 '%23href%3D%22http%3A%2F%2F%28.%2A%29vbulletin%5C.com%28.%2A%29%22%23'
          8        SEND_VAL                                                 'href%3D%22http%3A%2F%2Fanonym.to%2F%3Fhttp%3A%2F%2F%241vbulletin.com%242%22'
          9        SEND_VAL                                                 '%3Ca+href%3D%22http%3A%2F%2Fvbulletin.com%2Ftest%22%3EvB%3C%2Fa%3E'
         10        DO_ICALL                                         $1      
         11        ECHO                                                     $1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.95 ms | 1386 KiB | 15 Q