3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(isset($_GET['server']) && !empty($_GET['server'])) { $ip = $_GET['server']; } $keys = array( '63.43.45.34' => 'something', '216.144.248.194' => 'something', '216.144.249.2' => 'something', '216.144.248.130' => 'something', '216.144.249.66' => 'something', '216.144.248.66' => 'something', '63.143.39.130' => 'something', '74.63.230.2' => 'something', '216.144.249.130' => 'something', '63.143.39.194' => 'something', '69.162.107.66' => 'something', '63.143.38.66' => 'something', '216.144.244.210' => 'something', '216.144.253.194' => 'something', '208.115.193.130' => 'something' ); var_dump(array_key_exists('63.43.45.34', $keys)); $ip = "63.43.45.34"; if (array_key_exists($ip, $keys)) { echo $keys[$ip]; } else { echo "OH NOES"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 7
filename:       /in/fr0it
function name:  (null)
number of ops:  24
compiled vars:  !0 = $ip, !1 = $keys
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                         ~2      '_GET'
          1        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      ~2, 'server'
          2      > JMPZ_EX                                          ~3      ~3, ->7
          3    >   FETCH_IS                                         ~4      '_GET'
          4        ISSET_ISEMPTY_DIM_OBJ                         1  ~5      ~4, 'server'
          5        BOOL_NOT                                         ~6      ~5
          6        BOOL                                             ~3      ~6
          7    > > JMPZ                                                     ~3, ->11
    5     8    >   FETCH_R                      global              ~7      '_GET'
          9        FETCH_DIM_R                                      ~8      ~7, 'server'
         10        ASSIGN                                                   !0, ~8
    8    11    >   ASSIGN                                                   !1, <array>
   28    12        INIT_FCALL                                               'var_dump'
         13        ARRAY_KEY_EXISTS                                 ~11     '63.43.45.34', !1
         14        SEND_VAL                                                 ~11
         15        DO_ICALL                                                 
   29    16        ASSIGN                                                   !0, '63.43.45.34'
   30    17        ARRAY_KEY_EXISTS                                         !0, !1
         18      > JMPZ                                                     ~14, ->22
   32    19    >   FETCH_DIM_R                                      ~15     !1, !0
         20        ECHO                                                     ~15
         21      > JMP                                                      ->23
   34    22    >   ECHO                                                     'OH+NOES'
   35    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.69 ms | 1395 KiB | 15 Q