3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.17 ms | 1394 KiB | 17 Q