3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(in_array(FALSE, [''])); var_export(in_array(FALSE, [0])); var_export(in_array(FALSE, [[]])); var_export(in_array(FALSE, [''], TRUE)); var_export(in_array(FALSE, [0], TRUE)); var_export(in_array(FALSE, [[]], TRUE));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qKRNs
function name:  (null)
number of ops:  35
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_export'
          1        IN_ARRAY                                         ~0      <false>, <array>
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_export'
          5        INIT_FCALL                                               'in_array'
          6        SEND_VAL                                                 <false>
          7        SEND_VAL                                                 <array>
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_export'
         12        INIT_FCALL                                               'in_array'
         13        SEND_VAL                                                 <false>
         14        SEND_VAL                                                 <array>
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    6    18        INIT_FCALL                                               'var_export'
         19        IN_ARRAY                                         ~6      <false>, <array>
         20        SEND_VAL                                                 ~6
         21        DO_ICALL                                                 
    7    22        INIT_FCALL                                               'var_export'
         23        IN_ARRAY                                         ~8      <false>, <array>
         24        SEND_VAL                                                 ~8
         25        DO_ICALL                                                 
    8    26        INIT_FCALL                                               'var_export'
         27        INIT_FCALL                                               'in_array'
         28        SEND_VAL                                                 <false>
         29        SEND_VAL                                                 <array>
         30        SEND_VAL                                                 <true>
         31        DO_ICALL                                         $10     
         32        SEND_VAR                                                 $10
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.12 ms | 1012 KiB | 15 Q