3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('String', '∞', 0.00, ''); var_dump( //in_array('Value', $array), in_array('Value', $array, true) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QhYmc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'var_dump'
    7     2        INIT_FCALL                                               'in_array'
          3        SEND_VAL                                                 'Value'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    8     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.15 ms | 1385 KiB | 17 Q