3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo base64_encode('top_menu_handler'); //echo base64_decode('aG9yaXpvbnRhbF9tZW51'); $ar = array(); $ar['aaa'] = 'test'; if($val=$ar['aa']) echo $val; else echo 'no';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TPgM6
function name:  (null)
number of ops:  10
compiled vars:  !0 = $ar, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN_DIM                                               !0, 'aaa'
          2        OP_DATA                                                  'test'
    8     3        FETCH_DIM_R                                      ~4      !0, 'aa'
          4        ASSIGN                                           ~5      !1, ~4
          5      > JMPZ                                                     ~5, ->8
    9     6    >   ECHO                                                     !1
          7      > JMP                                                      ->9
   11     8    >   ECHO                                                     'no'
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.83 ms | 1393 KiB | 13 Q