3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($num=0;$num<=8;++$num){ $array=array($num=>"Monday","Tuesday","Wednesday","Thursday","Friday"); print_r ($array);} ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
Branch analysis from position: 2
filename:       /in/SfVle
function name:  (null)
number of ops:  15
compiled vars:  !0 = $num, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->12
    3     2    >   INIT_ARRAY                                       ~3      'Monday', !0
          3        ADD_ARRAY_ELEMENT                                ~3      'Tuesday'
          4        ADD_ARRAY_ELEMENT                                ~3      'Wednesday'
          5        ADD_ARRAY_ELEMENT                                ~3      'Thursday'
          6        ADD_ARRAY_ELEMENT                                ~3      'Friday'
          7        ASSIGN                                                   !1, ~3
    4     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
    2    11        PRE_INC                                                  !0
         12    >   IS_SMALLER_OR_EQUAL                                      !0, 8
         13      > JMPNZ                                                    ~7, ->2
    5    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.17 ms | 1394 KiB | 15 Q