3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait tSB_FormFieldObject { } class SB_FormFieldObject { use tSB_FormFieldObject; public $Test = "aa"; } function test($a=null) { echo (isset($a->Test)); } $a = new SB_FormFieldObject(); test($a); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QaCOc
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DECLARE_CLASS                                            'sb_formfieldobject'
   12     1        NEW                                              $1      'SB_FormFieldObject'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   13     4        INIT_FCALL                                               'test'
          5        SEND_VAR                                                 !0
          6        DO_FCALL                                      0          
   14     7      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QaCOc
function name:  test
number of ops:  4
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV_INIT                                        !0      null
    9     1        ISSET_ISEMPTY_PROP_OBJ                           ~1      !0, 'Test'
          2        ECHO                                                     ~1
   10     3      > RETURN                                                   null

End of function test

Class tSB_FormFieldObject: [no user functions]
Class SB_FormFieldObject: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.91 ms | 1397 KiB | 14 Q