3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.89 ms | 1435 KiB | 14 Q