3v4l.org

run code in 300+ PHP versions simultaneously
<?php $workflow['Workflow'] = array('ContactInformation' => 'Primary'); $workflow['Workflow']['ContactInformation']['Primary'] = array('FirstName' => 'Jon'); $input = $workflow['Workflow']['ContactInformatino']; if (array_key_exists('FirstName', $input['Primary'])) { var_dump('hello'); } var_dump($workflow);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/92ddO
function name:  (null)
number of ops:  19
compiled vars:  !0 = $workflow, !1 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'Workflow'
          1        OP_DATA                                                  <array>
    4     2        FETCH_DIM_W                                      $3      !0, 'Workflow'
          3        FETCH_DIM_W                                      $4      $3, 'ContactInformation'
          4        ASSIGN_DIM                                               $4, 'Primary'
          5        OP_DATA                                                  <array>
    6     6        FETCH_DIM_R                                      ~6      !0, 'Workflow'
          7        FETCH_DIM_R                                      ~7      ~6, 'ContactInformatino'
          8        ASSIGN                                                   !1, ~7
    8     9        FETCH_DIM_R                                      ~9      !1, 'Primary'
         10        ARRAY_KEY_EXISTS                                         'FirstName', ~9
         11      > JMPZ                                                     ~10, ->15
   10    12    >   INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 'hello'
         14        DO_ICALL                                                 
   13    15    >   INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.62 ms | 1403 KiB | 16 Q