3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.45 ms | 1394 KiB | 19 Q