3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; $b = [1, 2]; var_dump(!$a, !$b); var_dump(empty($a), empty($b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i9EEM
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
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        BOOL_NOT                                         ~5      !1
          6        SEND_VAL                                                 ~5
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
          9        ISSET_ISEMPTY_CV                                 ~7      !0
         10        SEND_VAL                                                 ~7
         11        ISSET_ISEMPTY_CV                                 ~8      !1
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.92 ms | 1398 KiB | 15 Q