3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_replace_callback("/(?<=&lt;|&lt;\/)(a(?:bbr|cronym|ddress|pplet|rea)?|b(?:ase(?:font)?|do|ig|lockquote|ody|r|utton)?|c(?:aption|enter|ite|o(?:de|l(?:group)?))|d(?:d|el|fn|i[rv]|l|t)|em|f(?:ieldset|o(?:nt|rm)|rame(?:set)?)|h(?:1|2|3|4|5|6|ead|r|tml)|i(?:frame|layer|mg|n(?:put|s)|sindex)?|kbd|l(?:abel|egend|i(?:nk)?)|m(?:ap|eta)|no(?:frames|script)|o(?:bject|l|pt(?:group|ion))|p(?:aram|re)?|q|s(?:amp|cript|elect|mall|pan|t(?:r(?:ike|ong)|yle)|u[bp])?|t(?:able|body|d|ext(?:area)?|foot|h(?:ead)?|itle|r|t)|ul?|var)(?!\<DOT\>(?:htm|php|aspx?))(?=\s|\/|&gt;)/i", array($this, 'handle_keyword_replace'), "&lt;/span&gt;" );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rPSa7
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace_callback'
          1        SEND_VAL                                                 '%2F%28%3F%3C%3D%26lt%3B%7C%26lt%3B%5C%2F%29%28a%28%3F%3Abbr%7Ccronym%7Cddress%7Cpplet%7Crea%29%3F%7Cb%28%3F%3Aase%28%3F%3Afont%29%3F%7Cdo%7Cig%7Clockquote%7Cody%7Cr%7Cutton%29%3F%7Cc%28%3F%3Aaption%7Center%7Cite%7Co%28%3F%3Ade%7Cl%28%3F%3Agroup%29%3F%29%29%7Cd%28%3F%3Ad%7Cel%7Cfn%7Ci%5Brv%5D%7Cl%7Ct%29%7Cem%7Cf%28%3F%3Aieldset%7Co%28%3F%3Ant%7Crm%29%7Crame%28%3F%3Aset%29%3F%29%7Ch%28%3F%3A1%7C2%7C3%7C4%7C5%7C6%7Cead%7Cr%7Ctml%29%7Ci%28%3F%3Aframe%7Clayer%7Cmg%7Cn%28%3F%3Aput%7Cs%29%7Csindex%29%3F%7Ckbd%7Cl%28%3F%3Aabel%7Cegend%7Ci%28%3F%3Ank%29%3F%29%7Cm%28%3F%3Aap%7Ceta%29%7Cno%28%3F%3Aframes%7Cscript%29%7Co%28%3F%3Abject%7Cl%7Cpt%28%3F%3Agroup%7Cion%29%29%7Cp%28%3F%3Aaram%7Cre%29%3F%7Cq%7Cs%28%3F%3Aamp%7Ccript%7Celect%7Cmall%7Cpan%7Ct%28%3F%3Ar%28%3F%3Aike%7Cong%29%7Cyle%29%7Cu%5Bbp%5D%29%3F%7Ct%28%3F%3Aable%7Cbody%7Cd%7Cext%28%3F%3Aarea%29%3F%7Cfoot%7Ch%28%3F%3Aead%29%3F%7Citle%7Cr%7Ct%29%7Cul%3F%7Cvar%29%28%3F%21%5C%3CDOT%5C%3E%28%3F%3Ahtm%7Cphp%7Caspx%3F%29%29%28%3F%3D%5Cs%7C%5C%2F%7C%26gt%3B%29%2Fi'
    3     2        FETCH_THIS                                       ~0      
          3        INIT_ARRAY                                       ~1      ~0
          4        ADD_ARRAY_ELEMENT                                ~1      'handle_keyword_replace'
          5        SEND_VAL                                                 ~1
    4     6        SEND_VAL                                                 '%26lt%3B%2Fspan%26gt%3B'
          7        DO_ICALL                                                 
    5     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.77 ms | 1395 KiB | 15 Q