3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("t0",0); define("t1",1); $a=array(); for ($n=0;$n<100000;$n++){ $a[]=array(t0=>0,t1=>1); } foreach ($a as $a2){ $test=$a2[t0].$a2[t1]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
2 jumps found. (Code = 77) Position 1 = 21, Position 2 = 29
Branch analysis from position: 21
2 jumps found. (Code = 78) Position 1 = 22, Position 2 = 29
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
Branch analysis from position: 11
filename:       /in/3WL1h
function name:  (null)
number of ops:  31
compiled vars:  !0 = $a, !1 = $n, !2 = $a2, !3 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 't0'
          2        SEND_VAL                                                 0
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 't1'
          6        SEND_VAL                                                 1
          7        DO_ICALL                                                 
    4     8        ASSIGN                                                   !0, <array>
    5     9        ASSIGN                                                   !1, 0
         10      > JMP                                                      ->18
    6    11    >   FETCH_CONSTANT                                   ~9      't0'
         12        INIT_ARRAY                                       ~10     0, ~9
         13        FETCH_CONSTANT                                   ~11     't1'
         14        ADD_ARRAY_ELEMENT                                ~10     1, ~11
         15        ASSIGN_DIM                                               !0
         16        OP_DATA                                                  ~10
    5    17        PRE_INC                                                  !1
         18    >   IS_SMALLER                                               !1, 100000
         19      > JMPNZ                                                    ~13, ->11
    8    20    > > FE_RESET_R                                       $14     !0, ->29
         21    > > FE_FETCH_R                                               $14, !2, ->29
    9    22    >   FETCH_CONSTANT                                   ~15     't0'
         23        FETCH_DIM_R                                      ~16     !2, ~15
         24        FETCH_CONSTANT                                   ~17     't1'
         25        FETCH_DIM_R                                      ~18     !2, ~17
         26        CONCAT                                           ~19     ~16, ~18
         27        ASSIGN                                                   !3, ~19
    8    28      > JMP                                                      ->21
         29    >   FE_FREE                                                  $14
   10    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.21 ms | 1396 KiB | 15 Q