3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.66 ms | 1394 KiB | 19 Q