3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('hhvm.enable_zend_sorting', 0); //define("thisIsVeryBigKeyName0",0); //define("thisIsVeryBigKeyName1",1); $a=array(); for ($n=0;$n<100000;$n++){ $a[]=array(0=>0,1=>1); } for ($n=0;$n<2;$n++){ foreach ($a as $a2){ $test=$a2[0].$a2[1]; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 14
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 21
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 21
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 14
Branch analysis from position: 25
Branch analysis from position: 14
Branch analysis from position: 21
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/vvMAo
function name:  (null)
number of ops:  26
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                                                 
    5     4        ASSIGN                                                   !0, <array>
    6     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->10
    7     7    >   ASSIGN_DIM                                               !0
          8        OP_DATA                                                  <array>
    6     9        PRE_INC                                                  !1
         10    >   IS_SMALLER                                               !1, 100000
         11      > JMPNZ                                                    ~9, ->7
    9    12    >   ASSIGN                                                   !1, 0
         13      > JMP                                                      ->23
   10    14    > > FE_RESET_R                                       $11     !0, ->21
         15    > > FE_FETCH_R                                               $11, !2, ->21
   11    16    >   FETCH_DIM_R                                      ~12     !2, 0
         17        FETCH_DIM_R                                      ~13     !2, 1
         18        CONCAT                                           ~14     ~12, ~13
         19        ASSIGN                                                   !3, ~14
   10    20      > JMP                                                      ->15
         21    >   FE_FREE                                                  $11
    9    22        PRE_INC                                                  !1
         23    >   IS_SMALLER                                               !1, 2
         24      > JMPNZ                                                    ~17, ->14
   13    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.51 ms | 1396 KiB | 15 Q