3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export( preg_split( '~\D+\d{4}\K~', 'ABCDE1234ABCD1234ABCDEF1234', 0, PREG_SPLIT_NO_EMPTY ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JPSmW
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'
    5     2        SEND_VAL                                                 '%7E%5CD%2B%5Cd%7B4%7D%5CK%7E'
    6     3        SEND_VAL                                                 'ABCDE1234ABCD1234ABCDEF1234'
    7     4        SEND_VAL                                                 0
    8     5        SEND_VAL                                                 1
    4     6        DO_ICALL                                         $0      
    8     7        SEND_VAR                                                 $0
    3     8        DO_ICALL                                                 
   10     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.82 ms | 1001 KiB | 15 Q