3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_split('!([^\d-]+)!', '/SIP/Registry/0505-09540226', -1, PREG_SPLIT_DELIM_CAPTURE|PREG_SPLIT_NO_EMPTY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5BNhq
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%21%28%5B%5E%5Cd-%5D%2B%29%21'
          3        SEND_VAL                                                 '%2FSIP%2FRegistry%2F0505-09540226'
          4        SEND_VAL                                                 -1
          5        SEND_VAL                                                 3
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.89 ms | 941 KiB | 18 Q