3v4l.org

run code in 300+ PHP versions simultaneously
<?php define( TRUE, false ); $a = array( 'a', 'b' ); $d = array( 'c', 'b' ); $c = array( 'a' ); $p = in_array( $c, $a ) && !in_array( $c, $a ); var_dump( $p ); var_dump( TRUE == true );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/GlMur
function name:  (null)
number of ops:  26
compiled vars:  !0 = $a, !1 = $d, !2 = $c, !3 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 <true>
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    3     4        ASSIGN                                                   !0, <array>
    4     5        ASSIGN                                                   !1, <array>
    6     6        ASSIGN                                                   !2, <array>
    8     7        INIT_FCALL                                               'in_array'
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $8      
         11      > JMPZ_EX                                          ~9      $8, ->18
         12    >   INIT_FCALL                                               'in_array'
         13        SEND_VAR                                                 !2
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $10     
         16        BOOL_NOT                                         ~11     $10
         17        BOOL                                             ~9      ~11
         18    >   ASSIGN                                                   !3, ~9
   10    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                                 
   12    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAL                                                 <true>
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.78 ms | 1395 KiB | 19 Q