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"); $old = array( 'ONE' => array('a' => 1, 'b' => 2, 'c' => 3), 'TWO' => array('a' => 4, 'b' => 5, 'c' => 6), 'THREE' => array('a' => 7, 'b' => 8, 'c' => 9) ); print_r($old); foreach($array1 as $k=>$v){ /*if(in_array($v,$array2 )){ echo "Value $v exists \n"; }else{ echo "Value $v does not exists \n"; }*/ }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/2p9Zc
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array1, !1 = $array2, !2 = $old, !3 = $v, !4 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !2, <array>
   12     3        INIT_FCALL                                               'print_r'
          4        SEND_VAR                                                 !2
          5        DO_ICALL                                                 
   14     6      > FE_RESET_R                                       $9      !0, ->10
          7    > > FE_FETCH_R                                       ~10     $9, !3, ->10
          8    >   ASSIGN                                                   !4, ~10
          9      > JMP                                                      ->7
         10    >   FE_FREE                                                  $9
   21    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.64 ms | 1394 KiB | 15 Q