3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ref = new ReflectionMethod('ReflectionMethod', 'setAccessible'); var_dump(is_callable(array($ref, 'setAccessible')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mLHLZ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $ref
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'ReflectionMethod'
          1        SEND_VAL_EX                                              'ReflectionMethod'
          2        SEND_VAL_EX                                              'setAccessible'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'is_callable'
          7        INIT_ARRAY                                       ~4      !0
          8        ADD_ARRAY_ELEMENT                                ~4      'setAccessible'
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.77 ms | 1394 KiB | 17 Q