3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeClass { public $prop0 = 333; protected $prop1 = 555; private $prop2 = 777; } var_dump( Reflection::export( new ReflectionProperty('SomeClass', 'prop1') ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5CveR
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_STATIC_METHOD_CALL                                  'Reflection', 'export'
          2        NEW                                              $0      'ReflectionProperty'
          3        SEND_VAL_EX                                              'SomeClass'
          4        SEND_VAL_EX                                              'prop1'
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $0
          7        DO_FCALL                                      0  $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Class SomeClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.47 ms | 1394 KiB | 15 Q