3v4l.org

run code in 300+ PHP versions simultaneously
<?php $needle = '1.10'; $haystack = array('1.1'); assert(in_array($needle, $haystack) === false);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3J4i3
function name:  (null)
number of ops:  13
compiled vars:  !0 = $needle, !1 = $haystack
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1.10'
    3     1        ASSIGN                                                   !1, <array>
    5     2        ASSERT_CHECK                                             
          3        INIT_FCALL                                               'assert'
          4        INIT_FCALL                                               'in_array'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $4      
          8        TYPE_CHECK                                    4  ~5      $4
          9        SEND_VAL                                                 ~5
         10        SEND_VAL                                                 'assert%28in_array%28%24needle%2C+%24haystack%29+%3D%3D%3D+false%29'
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.75 ms | 1385 KiB | 17 Q