3v4l.org

run code in 500+ PHP versions simultaneously
<?php error_reporting(E_ALL); $not_array = false; // Case #1, incorrect: only 'PHP Warning: Undefined array key "nonexistant"' is logged echo (array_key_exists($_REQUEST['nonexistant'], $not_array) ? "yes" : "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/iAGg4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $not_array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     30719
          2        DO_ICALL                                                     
    5     3        ASSIGN                                                       !0, <false>
    8     4        FETCH_R                          global              ~3      '_REQUEST'
          5        FETCH_DIM_R                                          ~4      ~3, 'nonexistant'
          6        ARRAY_KEY_EXISTS                                             ~4, !0
          7      > JMPZ                                                         ~5, ->10
          8    >   QM_ASSIGN                                            ~6      'yes'
          9      > JMP                                                          ->11
         10    >   QM_ASSIGN                                            ~6      'no'
         11    >   ECHO                                                         ~6
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.26 ms | 2047 KiB | 14 Q