3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $arr = array(); $arr[1][1] = 666; foreach($arr as $a) { echo $a; } echo "done";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/Jq9FO
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, <array>
    4     4        FETCH_DIM_W                                      $4      !0, 1
          5        ASSIGN_DIM                                               $4, 1
          6        OP_DATA                                                  666
    5     7      > FE_RESET_R                                       $6      !0, ->11
          8    > > FE_FETCH_R                                               $6, !1, ->11
    6     9    >   ECHO                                                     !1
    5    10      > JMP                                                      ->8
         11    >   FE_FREE                                                  $6
    8    12        ECHO                                                     'done'
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.94 ms | 1394 KiB | 15 Q