3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("te","yes","we","no","1","sdfsdf","Resolved"); $array2 = array("another","no","we","no","0","sdfsdf","Unresolved"); foreach($array2 as $k=>$v){ $value = $v; $key = $k; if(!in_array($value,$array1)){ if(!array_key_exists($key,$array1)){ echo $value.'<br/>'; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 19
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 19
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 18
Branch analysis from position: 18
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/rKekZ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $array1, !1 = $array2, !2 = $v, !3 = $k, !4 = $value, !5 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2      > FE_RESET_R                                       $8      !1, ->19
          3    > > FE_FETCH_R                                       ~9      $8, !2, ->19
          4    >   ASSIGN                                                   !3, ~9
    7     5        ASSIGN                                                   !4, !2
    8     6        ASSIGN                                                   !5, !3
   10     7        INIT_FCALL                                               'in_array'
          8        SEND_VAR                                                 !4
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $13     
         11        BOOL_NOT                                         ~14     $13
         12      > JMPZ                                                     ~14, ->18
   11    13    >   ARRAY_KEY_EXISTS                                 ~15     !5, !0
         14        BOOL_NOT                                         ~16     ~15
         15      > JMPZ                                                     ~16, ->18
   12    16    >   CONCAT                                           ~17     !4, '%3Cbr%2F%3E'
         17        ECHO                                                     ~17
    6    18    > > JMP                                                      ->3
         19    >   FE_FREE                                                  $8
   15    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.41 ms | 1395 KiB | 15 Q