3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_export( preg_split('~(.)\1*\K~', '10001101', 0, PREG_SPLIT_NO_EMPTY) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RYEuY
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_export'
    4     1        INIT_FCALL                                                   'preg_split'
          2        SEND_VAL                                                     '%7E%28.%29%5C1%2A%5CK%7E'
          3        SEND_VAL                                                     '10001101'
          4        SEND_VAL                                                     0
          5        SEND_VAL                                                     1
          6        DO_ICALL                                             $0      
          7        SEND_VAR                                                     $0
    3     8        DO_ICALL                                                     
    5     9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.7 ms | 2011 KiB | 14 Q