3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! /** * A test class * * @param foo bar * @return baz */ class TestClass { } $rc = new ReflectionClass('TestClass'); echo $rc->getDocComment();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cmoHA
function name:  (null)
number of ops:  8
compiled vars:  !0 = $rc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $1      'ReflectionClass'
          1        SEND_VAL_EX                                              'TestClass'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   12     4        INIT_METHOD_CALL                                         !0, 'getDocComment'
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Class TestClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.45 ms | 1384 KiB | 13 Q