3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(in_array('2',array('2-5reel'),true)){ echo 'matched'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/pMUWI
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   IN_ARRAY                                                 '2', <array>
          1      > JMPZ                                                     ~0, ->3
    5     2    >   ECHO                                                     'matched'
    6     3    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.84 ms | 1383 KiB | 13 Q