3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); 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/06OiE
function name:  (null)
number of ops:  19
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   INIT_FCALL                                               'var_dump'
         1        FUNC_NUM_ARGS                                    ~0      1, null
         2        SEND_VAL                                                 ~0
         3        DO_ICALL                                                 
   5     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                                                 
   6    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:
58.78 ms | 410 KiB | 7 Q