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 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 11
Branch analysis from position: 16
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 23
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 23
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 11
Branch analysis from position: 16
Branch analysis from position: 11
filename:       /in/RpUMg
function name:  (null)
number of ops:  25
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                                                      ->14
    6    11    >   ASSIGN_DIM                                               !0
         12        OP_DATA                                                  <array>
    5    13        PRE_INC                                                  !1
         14    >   IS_SMALLER                                               !1, 100000
         15      > JMPNZ                                                    ~10, ->11
    8    16    > > FE_RESET_R                                       $11     !0, ->23
         17    > > FE_FETCH_R                                               $11, !2, ->23
    9    18    >   FETCH_DIM_R                                      ~12     !2, 't0'
         19        FETCH_DIM_R                                      ~13     !2, 't1'
         20        CONCAT                                           ~14     ~12, ~13
         21        ASSIGN                                                   !3, ~14
    8    22      > JMP                                                      ->17
         23    >   FE_FREE                                                  $11
   10    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.75 ms | 1396 KiB | 15 Q