3v4l.org

run code in 300+ PHP versions simultaneously
<?php $blank = ''; var_dump(empty($blank)); class NoMember { } $obj = new NoMember(); var_dump(empty($obj));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/srkQ3
function name:  (null)
number of ops:  13
compiled vars:  !0 = $blank, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        INIT_FCALL                                               'var_dump'
          2        ISSET_ISEMPTY_CV                                 ~3      !0
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                                 
    8     5        NEW                                              $5      'NoMember'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $5
    9     8        INIT_FCALL                                               'var_dump'
          9        ISSET_ISEMPTY_CV                                 ~8      !1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class NoMember: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.19 ms | 1394 KiB | 15 Q