3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "MDVB, 94010, (555) 555-5555, KHII, 94015, (555) 555-5555, POONHY, 94010, (555) 555-5555,"; var_export( preg_split('/\d{3}-\d{4}\K, ?/', $string, 0, PREG_SPLIT_NO_EMPTY) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NocNC
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'MDVB%2C+94010%2C+%28555%29+555-5555%2C+KHII%2C+94015%2C+%28555%29+555-5555%2C+POONHY%2C+94010%2C+%28555%29+555-5555%2C'
    5     1        INIT_FCALL                                               'var_export'
    6     2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%5Cd%7B3%7D-%5Cd%7B4%7D%5CK%2C+%3F%2F'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 1
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
    5     9        DO_ICALL                                                 
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.95 ms | 1010 KiB | 15 Q