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); } 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
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
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/QSe49
function name:  (null)
number of ops:  21
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    > > FE_RESET_R                                       $10     !0, ->19
         13    > > FE_FETCH_R                                               $10, !2, ->19
   10    14    >   FETCH_DIM_R                                      ~11     !2, 0
         15        FETCH_DIM_R                                      ~12     !2, 1
         16        CONCAT                                           ~13     ~11, ~12
         17        ASSIGN                                                   !3, ~13
    9    18      > JMP                                                      ->13
         19    >   FE_FREE                                                  $10
   11    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.73 ms | 1395 KiB | 15 Q