3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.64 ms | 1385 KiB | 15 Q