3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "hello world こんにちは world"; var_dump(preg_split('/([^a-zA-Z ]+)/u', $text, -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/XoR4e
function name:  (null)
number of ops:  11
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'hello+world+%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF+world'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%28%5B%5Ea-zA-Z+%5D%2B%29%2Fu'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 -1
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.61 ms | 997 KiB | 15 Q