3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION ['test'] [ 't****' ] = 'Hello'; var_dump($_SESSION); echo "\n" . $_SESSION [ 'test' ] [ 't****' ]; $var = "test2"; for ($i = 4 ; $i > 0 ; $i--){ $var [$i] = "*"; echo "\n" . $_SESSION['test'][$var]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 16
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 16
Branch analysis from position: 26
Branch analysis from position: 16
filename:       /in/YANSb
function name:  (null)
number of ops:  27
compiled vars:  !0 = $var, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $2      '_SESSION'
          1        FETCH_DIM_W                                      $3      $2, 'test'
          2        ASSIGN_DIM                                               $3, 't%2A%2A%2A%2A'
          3        OP_DATA                                                  'Hello'
    4     4        INIT_FCALL                                               'var_dump'
          5        FETCH_R                      global              ~5      '_SESSION'
          6        SEND_VAL                                                 ~5
          7        DO_ICALL                                                 
    6     8        FETCH_R                      global              ~7      '_SESSION'
          9        FETCH_DIM_R                                      ~8      ~7, 'test'
         10        FETCH_DIM_R                                      ~9      ~8, 't%2A%2A%2A%2A'
         11        CONCAT                                           ~10     '%0A', ~9
         12        ECHO                                                     ~10
    8    13        ASSIGN                                                   !0, 'test2'
   10    14        ASSIGN                                                   !1, 4
         15      > JMP                                                      ->24
   11    16    >   ASSIGN_DIM                                               !0, !1
         17        OP_DATA                                                  '%2A'
   12    18        FETCH_R                      global              ~14     '_SESSION'
         19        FETCH_DIM_R                                      ~15     ~14, 'test'
         20        FETCH_DIM_R                                      ~16     ~15, !0
         21        CONCAT                                           ~17     '%0A', ~16
         22        ECHO                                                     ~17
   10    23        PRE_DEC                                                  !1
         24    >   IS_SMALLER                                               0, !1
         25      > JMPNZ                                                    ~19, ->16
   13    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.32 ms | 1395 KiB | 15 Q