3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '72'; if(isset($a)) { if(is_array($a)) { if(array_key_exists('ErrorTable', $a)) { echo 'Array, and ErrorTable key exists.'; } else { echo 'Array, but ErrorTable key does not exist.'; } } else { echo 'Is not array, but is set.'; } } else { echo 'Not set at all.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s9dho
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '72'
    5     1        ISSET_ISEMPTY_CV                                         !0
          2      > JMPZ                                                     ~2, ->13
    6     3    >   TYPE_CHECK                                  128          !0
          4      > JMPZ                                                     ~3, ->11
    7     5    >   ARRAY_KEY_EXISTS                                         'ErrorTable', !0
          6      > JMPZ                                                     ~4, ->9
    8     7    >   ECHO                                                     'Array%2C+and+ErrorTable+key+exists.'
          8      > JMP                                                      ->10
   10     9    >   ECHO                                                     'Array%2C+but+ErrorTable+key+does+not+exist.'
         10    > > JMP                                                      ->12
   13    11    >   ECHO                                                     'Is+not+array%2C+but+is+set.'
         12    > > JMP                                                      ->14
   16    13    >   ECHO                                                     'Not+set+at+all.'
   17    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
254.97 ms | 1393 KiB | 14 Q