3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo empty(""); var_dump(empty("\0")); echo empty($a); $b=10; echo ~$b,"\n"; echo !$b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wcpjk
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
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                                 ~3      !0
          5        ECHO                                                     ~3
    5     6        ASSIGN                                                   !1, 10
    6     7        BW_NOT                                           ~5      !1
          8        ECHO                                                     ~5
          9        ECHO                                                     '%0A'
    7    10        BOOL_NOT                                         ~6      !1
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.88 ms | 1385 KiB | 15 Q