3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(in_array((int)"1test", array(0)));
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/cITge
function name:  (null)
number of ops:  9
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'in_array'
         2        CAST                                          4  ~0      '1test'
         3        SEND_VAL                                                 ~0
         4        SEND_VAL                                                 <array>
         5        DO_ICALL                                         $1      
         6        SEND_VAR                                                 $1
         7        DO_ICALL                                                 
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0