3v4l.org

run code in 500+ PHP versions simultaneously
<?php $parts = preg_split('~(\+|\*|/|-)~', '6+4*4+100+444*6*13*14', -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); print_r($parts);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jha6P
function name:  (null)
number of ops:  11
compiled vars:  !0 = $parts
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'preg_split'
          1        SEND_VAL                                                     '%7E%28%5C%2B%7C%5C%2A%7C%2F%7C-%29%7E'
          2        SEND_VAL                                                     '6%2B4%2A4%2B100%2B444%2A6%2A13%2A14'
          3        SEND_VAL                                                     -1
          4        SEND_VAL                                                     3
          5        DO_ICALL                                             $1      
          6        ASSIGN                                                       !0, $1
    3     7        INIT_FCALL                                                   'print_r'
          8        SEND_VAR                                                     !0
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.77 ms | 2104 KiB | 16 Q