3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<pre>"; $str = "Lorem ipsum \"dolor sit amet\", consectetur adipiscing elit, maecenas est felis \"sit amet\"."; $array = preg_split("/\"([\\w ]*)\"/", $str, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($array); echo "</pre>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WReEs
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Cpre%3E'
    3     1        ASSIGN                                                   !0, 'Lorem+ipsum+%22dolor+sit+amet%22%2C+consectetur+adipiscing+elit%2C+maecenas+est+felis+%22sit+amet%22.'
    4     2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%22%28%5B%5Cw+%5D%2A%29%22%2F'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 -1
    5     6        SEND_VAL                                                 3
          7        DO_ICALL                                         $3      
    4     8        ASSIGN                                                   !1, $3
    6     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
    7    12        ECHO                                                     '%3C%2Fpre%3E'
    8    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.23 ms | 1394 KiB | 17 Q