3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = array( 'bar' => array( 'foo' => 'php', array( 'bar' => TRUE, ), ), ); $two = array( 'bar' => array( 'foo' => TRUE, array( 'bar1' => FALSE, ), ), ); $val_val = array( 'foo' => TRUE, array( 'bar1' => FALSE, ), ); var_dump(in_array($val_val, $one));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oWFGE
function name:  (null)
number of ops:  11
compiled vars:  !0 = $one, !1 = $two, !2 = $val_val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        ASSIGN                                                   !1, <array>
   21     2        ASSIGN                                                   !2, <array>
   28     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'in_array'
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.56 ms | 1394 KiB | 17 Q