3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo empty(""); var_dump(empty("\0")); echo empty($a); echo ~$a,"\n"; echo !$a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mO8p6
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     <true>
    3     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    4     4        ISSET_ISEMPTY_CV                                 ~2      !0
          5        ECHO                                                     ~2
    5     6        BW_NOT                                           ~3      !0
          7        ECHO                                                     ~3
          8        ECHO                                                     '%0A'
    6     9        BOOL_NOT                                         ~4      !0
         10        ECHO                                                     ~4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1394 KiB | 15 Q