3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array("condition" => "test"); if ($x['condition']['test']) { echo "test"; } echo '\n\r'; print_r($x); echo $x['test'];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/N9OXY
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_R                                      ~2      !0, 'condition'
          2        FETCH_DIM_R                                      ~3      ~2, 'test'
          3      > JMPZ                                                     ~3, ->5
    5     4    >   ECHO                                                     'test'
    8     5    >   ECHO                                                     '%5Cn%5Cr'
    9     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
   11     9        FETCH_DIM_R                                      ~5      !0, 'test'
         10        ECHO                                                     ~5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.68 ms | 1394 KiB | 15 Q