3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors', 1); $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 = 10, Position 2 = 13
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
filename:       /in/oWRcm
function name:  (null)
number of ops:  18
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                                                 
    4     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 1
          6        DO_ICALL                                                 
    6     7        ASSIGN                                                   !0, <array>
   13     8        TYPE_CHECK                                  128  ~4      !0
          9      > JMPZ_EX                                          ~4      ~4, ->13
         10    >   FETCH_DIM_IS                                     ~5      !0, 'data'
         11        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'code'
         12        BOOL                                             ~4      ~6
         13    > > JMPZ                                                     ~4, ->16
   14    14    > > EXIT                                                     'failed'
         15*       JMP                                                      ->17
   16    16    > > EXIT                                                     'ok'
   17    17*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.16 ms | 1395 KiB | 17 Q