3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.05 ms | 1396 KiB | 17 Q