3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '[protected-iframe id="76d9c935529099f1c2c4c20af7fa9da1-55735640-4908649" info="http://embed.sendtonews.com/player2/embedcode.php?fk=t4GWIwRy&amp;cid=6174" class="s2nPlayer-t4GWIwRy" width="560" height="340"]'; $output = preg_replace( '#\[protected-iframe(.*)?info="https?://(www\.)?embed\.sendtonews\.com(.*)?"(.*)?\]#', '', $input ); echo $output;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pPDRL
function name:  (null)
number of ops:  9
compiled vars:  !0 = $input, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5Bprotected-iframe+id%3D%2276d9c935529099f1c2c4c20af7fa9da1-55735640-4908649%22+info%3D%22http%3A%2F%2Fembed.sendtonews.com%2Fplayer2%2Fembedcode.php%3Ffk%3Dt4GWIwRy%26amp%3Bcid%3D6174%22+class%3D%22s2nPlayer-t4GWIwRy%22+width%3D%22560%22+height%3D%22340%22%5D'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%5C%5Bprotected-iframe%28.%2A%29%3Finfo%3D%22https%3F%3A%2F%2F%28www%5C.%29%3Fembed%5C.sendtonews%5C.com%28.%2A%29%3F%22%28.%2A%29%3F%5C%5D%23'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    7     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.37 ms | 1394 KiB | 15 Q