3v4l.org

run code in 500+ PHP versions simultaneously
<?php print_r( preg_split( '/\s+|(<br>)/', 'Hello how are you<br>Foo bar hello', -1, PREG_SPLIT_DELIM_CAPTURE));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0ijZM
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'print_r'
          1        INIT_FCALL                                                   'preg_split'
          2        SEND_VAL                                                     '%2F%5Cs%2B%7C%28%3Cbr%3E%29%2F'
          3        SEND_VAL                                                     'Hello+how+are+you%3Cbr%3EFoo+bar+hello'
          4        SEND_VAL                                                     -1
          5        SEND_VAL                                                     2
          6        DO_ICALL                                             $0      
          7        SEND_VAR                                                     $0
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
211.68 ms | 2869 KiB | 15 Q