3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'a', 'b' ); $d = array( 'c', 'b' ); $c = array( 'a' ); $p = in_array( $c, $a ) && !in_array( $c, $a ); var_dump( $p );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/IL1ur
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $d, !2 = $c, !3 = $p
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>
    8     3        INIT_FCALL                                               'in_array'
          4        SEND_VAR                                                 !2
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $7      
          7      > JMPZ_EX                                          ~8      $7, ->14
          8    >   INIT_FCALL                                               'in_array'
          9        SEND_VAR                                                 !2
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $9      
         12        BOOL_NOT                                         ~10     $9
         13        BOOL                                             ~8      ~10
         14    >   ASSIGN                                                   !3, ~8
   10    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !3
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.85 ms | 1386 KiB | 17 Q