3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "My <b>table</b> in brown <br> Help"; $char = preg_split('#(</?[a-z]+>|[a-z ])#ui', $str, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); print_r($char);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bOqhH
function name:  (null)
number of ops:  12
compiled vars:  !0 = $str, !1 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'My+%3Cb%3Etable%3C%2Fb%3E+in+brown+%3Cbr%3E+Help'
    4     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%23%28%3C%2F%3F%5Ba-z%5D%2B%3E%7C%5Ba-z+%5D%29%23ui'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 -1
          5        SEND_VAL                                                 3
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !1, $3
    5     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.28 ms | 1010 KiB | 15 Q