3v4l.org

run code in 300+ PHP versions simultaneously
<?php $author = new stdObject(); $author->ID = 1; if (isset($author->ID)) { echo 'hello'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/auugI
function name:  (null)
number of ops:  9
compiled vars:  !0 = $author
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'stdObject'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    3     3        ASSIGN_OBJ                                               !0, 'ID'
          4        OP_DATA                                                  1
    4     5        ISSET_ISEMPTY_PROP_OBJ                                   !0, 'ID'
          6      > JMPZ                                                     ~5, ->8
    5     7    >   ECHO                                                     'hello'
    6     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.66 ms | 1397 KiB | 13 Q