3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stringa = "fooooo"; $stringb = "baaaar"; var_dump($stringa[1]); $twostrings = [$stringa, $stringb]; var_dump($twostrings[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oim9V
function name:  (null)
number of ops:  14
compiled vars:  !0 = $stringa, !1 = $stringb, !2 = $twostrings
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'fooooo'
    3     1        ASSIGN                                                   !1, 'baaaar'
    4     2        INIT_FCALL                                               'var_dump'
          3        FETCH_DIM_R                                      ~5      !0, 1
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                                 
    5     6        INIT_ARRAY                                       ~7      !0
          7        ADD_ARRAY_ELEMENT                                ~7      !1
          8        ASSIGN                                                   !2, ~7
    6     9        INIT_FCALL                                               'var_dump'
         10        FETCH_DIM_R                                      ~9      !2, 1
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.22 ms | 1394 KiB | 15 Q