3v4l.org

run code in 200+ PHP versions simultaneously
<?php $item = array( 'image 6 alt', 'image 6 title', 'public:///image.png', ); $values = array ( 'fid' => '2', 'uid' => '0', 'filename' => 'image.png', 'uri' => 'public:///image.png', 'filemime' => 'image/png', 'filesize' => '333', 'status' => '1', 'timestamp' => '1541320113', 'alt' => ' image 6 alt', 'title' => ' image 6 title', 'width' => '140', 'height' => '100', ); foreach ($item as $value) { debug(in_array($value, $values)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/XMf2i
function name:  (null)
number of ops:  14
compiled vars:  !0 = $item, !1 = $values, !2 = $value
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, <array>
   9     1        ASSIGN                                                   !1, <array>
  22     2      > FE_RESET_R                                       $5      !0, ->12
         3    > > FE_FETCH_R                                               $5, !2, ->12
  23     4    >   INIT_FCALL_BY_NAME                                       'debug'
         5        INIT_FCALL                                               'in_array'
         6        SEND_VAR                                                 !2
         7        SEND_VAR                                                 !1
         8        DO_ICALL                                         $6      
         9        SEND_VAR_NO_REF_EX                                       $6
        10        DO_FCALL                                      0          
        11      > JMP                                                      ->3
        12    >   FE_FREE                                                  $5
  24    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0