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/oCrLG
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%5B%2B%2A%2F-%5D%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:
153.63 ms | 2226 KiB | 15 Q