3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = array( 14860, 13184, 63782 ); $b = (int)'14860'; if (in_array($b, $val, true)) { return true; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/svJJY
function name:  (null)
number of ops:  11
compiled vars:  !0 = $val, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        CAST                                          4  ~3      '14860'
          2        ASSIGN                                                   !1, ~3
   10     3        INIT_FCALL                                               'in_array'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $5      
          8      > JMPZ                                                     $5, ->10
   11     9    > > RETURN                                                   <true>
   12    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.09 ms | 1394 KiB | 15 Q