3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { private $bar = 'a'; } (new ReflectionProperty(Foo::class, 'bar'))->getValue();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ousrD
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   NEW                                                  $0      'ReflectionProperty'
          1        SEND_VAL_EX                                                  'Foo'
          2        SEND_VAL_EX                                                  'bar'
          3        DO_FCALL                                          0          
          4        INIT_METHOD_CALL                                             $0, 'getValue'
          5        DO_FCALL                                          0          
          6      > RETURN                                                       1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.67 ms | 3416 KiB | 13 Q