3v4l.org

run code in 500+ PHP versions simultaneously
<?php $foo = new class {}; if (empty($foo->bar)) { echo 'oh noez'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/2AYI6
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_ANON_CLASS                                   <unknown> 
          1        NEW                                                  $2      $1
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $2
    5     4        ISSET_ISEMPTY_PROP_OBJ                                       !0, 'bar'
          5      > JMPZ                                                         ~5, ->7
    6     6    >   ECHO                                                         'oh+noez'
    7     7    > > RETURN                                                       1

Class class@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.78 ms | 2186 KiB | 13 Q