3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = preg_split("[?]", "['hotels'][3]"); echo var_dump($test);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/6D9ip
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'preg_split'
         1        SEND_VAL                                                 '%5B%3F%5D'
         2        SEND_VAL                                                 '%5B%27hotels%27%5D%5B3%5D'
         3        DO_ICALL                                         $1      
         4        ASSIGN                                                   !0, $1
   3     5        INIT_FCALL                                               'var_dump'
         6        SEND_VAR                                                 !0
         7        DO_ICALL                                         $3      
         8        ECHO                                                     $3
         9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0