3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.07 ms | 1008 KiB | 14 Q