3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<div width="5px">three is less than five: 3<5, ya know?</div>'; echo preg_replace("#(<[a-zA-Z0-9]+)[^\>]+>#", "\\1>", $html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nnpc2
function name:  (null)
number of ops:  8
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cdiv+width%3D%225px%22%3Ethree+is+less+than+five%3A+3%3C5%2C+ya+know%3F%3C%2Fdiv%3E'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%28%3C%5Ba-zA-Z0-9%5D%2B%29%5B%5E%5C%3E%5D%2B%3E%23'
          3        SEND_VAL                                                 '%5C1%3E'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.84 ms | 1008 KiB | 14 Q