3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('@amazon\.com.*?"@g','cao','<a target="_blank" href="http://www.amazon.com/dp/B005LA53LA/?tag={tag}">');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Udihn
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%40amazon%5C.com.%2A%3F%22%40g'
          2        SEND_VAL                                                 'cao'
          3        SEND_VAL                                                 '%3Ca+target%3D%22_blank%22+href%3D%22http%3A%2F%2Fwww.amazon.com%2Fdp%2FB005LA53LA%2F%3Ftag%3D%7Btag%7D%22%3E'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.64 ms | 1398 KiB | 15 Q