3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = (bool)(in_array('043381565EDC', array('006973358', '043381565EDC')) == 1); echo $var;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kQtt8
function name:  (null)
number of ops:  9
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'in_array'
          1        SEND_VAL                                                 '043381565EDC'
          2        SEND_VAL                                                 <array>
          3        DO_ICALL                                         $1      
          4        IS_EQUAL                                         ~2      $1, 1
          5        BOOL                                             ~3      ~2
          6        ASSIGN                                                   !0, ~3
    3     7        ECHO                                                     !0
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.06 ms | 1394 KiB | 15 Q