3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $data = array( 'request_id' => '', 'entity_id' => '', 'data' => '8b45d3a22ccc64d19e6147878101d6dd', 'code' => '200' ); if ( is_array( $data ) && isset( $data[ 'data' ][ 'code' ] ) ) { die('failed'); } else { die('ok'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 9
filename:       /in/2qfNR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, <array>
   12     4        TYPE_CHECK                                  128  ~3      !0
          5      > JMPZ_EX                                          ~3      ~3, ->9
          6    >   FETCH_DIM_IS                                     ~4      !0, 'data'
          7        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      ~4, 'code'
          8        BOOL                                             ~3      ~5
          9    > > JMPZ                                                     ~3, ->12
   13    10    > > EXIT                                                     'failed'
         11*       JMP                                                      ->13
   15    12    > > EXIT                                                     'ok'
   16    13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.57 ms | 1394 KiB | 15 Q