3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params['entry']['attributes'] = array( 'enabled' => true ); var_dump(isset($params['entry']['attributes']['enabled'])); $whatIsGoingOn = $params['entry']['attributes']['enabled']; var_dump(isset($whatIsGoingOn)); var_dump(array_key_exists('enabled', $params['entry']['attributes']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uKiR6
function name:  (null)
number of ops:  24
compiled vars:  !0 = $params, !1 = $whatIsGoingOn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $2      !0, 'entry'
          1        ASSIGN_DIM                                               $2, 'attributes'
    4     2        OP_DATA                                                  <array>
    7     3        INIT_FCALL                                               'var_dump'
          4        FETCH_DIM_IS                                     ~4      !0, 'entry'
          5        FETCH_DIM_IS                                     ~5      ~4, 'attributes'
          6        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'enabled'
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                                 
    9     9        FETCH_DIM_R                                      ~8      !0, 'entry'
         10        FETCH_DIM_R                                      ~9      ~8, 'attributes'
         11        FETCH_DIM_R                                      ~10     ~9, 'enabled'
         12        ASSIGN                                                   !1, ~10
   11    13        INIT_FCALL                                               'var_dump'
         14        ISSET_ISEMPTY_CV                                 ~12     !1
         15        SEND_VAL                                                 ~12
         16        DO_ICALL                                                 
   13    17        INIT_FCALL                                               'var_dump'
         18        FETCH_DIM_R                                      ~14     !0, 'entry'
         19        FETCH_DIM_R                                      ~15     ~14, 'attributes'
         20        ARRAY_KEY_EXISTS                                 ~16     'enabled', ~15
         21        SEND_VAL                                                 ~16
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
131.37 ms | 1399 KiB | 15 Q