3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Mystreetway 123, 1.th"; var_export ( preg_split('/\D+\K /', $string, 2) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3DiqC
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Mystreetway+123%2C+1.th'
    5     1        INIT_FCALL                                               'var_export'
    6     2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%5CD%2B%5CK+%2F'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 2
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
    5     8        DO_ICALL                                                 
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.42 ms | 984 KiB | 15 Q