3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.05 ms | 1398 KiB | 15 Q