3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "next.1\n"; $a ["one"] = 5; var_dump ($a); print "next.2"; if (isset ($a ["none"])) { print $a ["none"]; } else { print "not set"; } print "next.3"; $a = &$a ["none"]; print $a; print "end";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KONoN
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'next.1%0A'
    4     1        ASSIGN_DIM                                               !0, 'one'
          2        OP_DATA                                                  5
    5     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    7     6        ECHO                                                     'next.2'
    9     7        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'none'
          8      > JMPZ                                                     ~3, ->12
   11     9    >   FETCH_DIM_R                                      ~4      !0, 'none'
         10        ECHO                                                     ~4
         11      > JMP                                                      ->13
   15    12    >   ECHO                                                     'not+set'
   18    13    >   ECHO                                                     'next.3'
   19    14        FETCH_DIM_W                                      $5      !0, 'none'
         15        ASSIGN_REF                                               !0, $5
   20    16        ECHO                                                     !0
   21    17        ECHO                                                     'end'
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.95 ms | 1395 KiB | 15 Q