3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 5300; $b = [53001, 53, false, true]; $c = true; $d = [5300, 53001]; var_dump( in_array($a, $b), in_array($c, $d) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nca0f
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5300
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <true>
    6     3        ASSIGN                                                   !3, <array>
    8     4        INIT_FCALL                                               'var_dump'
    9     5        INIT_FCALL                                               'in_array'
          6        SEND_VAR                                                 !0
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        SEND_VAR                                                 $8
   10    10        INIT_FCALL                                               'in_array'
         11        SEND_VAR                                                 !2
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                         $9      
         14        SEND_VAR                                                 $9
         15        DO_ICALL                                                 
   11    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.44 ms | 1398 KiB | 17 Q