3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'a b'; print_r(preg_split("/ /", $s)); $s = 'c d e t'; print_r(preg_split("/ +/", $s));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LAdO1
function name:  (null)
number of ops:  17
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a+b'
    4     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F+%2F'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    6     8        ASSIGN                                                   !0, 'c++d++++e++++++t'
    7     9        INIT_FCALL                                               'print_r'
         10        INIT_FCALL                                               'preg_split'
         11        SEND_VAL                                                 '%2F+%2B%2F'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.52 ms | 1394 KiB | 17 Q