3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * ClassDocComment * * @copyright Copyright (c) 2011 * @author author * @see http://php.net */ class ClassDocComment { } echo (new ReflectionClass ('ClassDocComment'))->getDocComment(); var_dump ((string) new ReflectionClass ('ClassDocComment'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WIOTG
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   NEW                                              $0      'ReflectionClass'
          1        SEND_VAL_EX                                              'ClassDocComment'
          2        DO_FCALL                                      0          
          3        INIT_METHOD_CALL                                         $0, 'getDocComment'
          4        DO_FCALL                                      0  $2      
          5        ECHO                                                     $2
   15     6        INIT_FCALL                                               'var_dump'
          7        NEW                                              $3      'ReflectionClass'
          8        SEND_VAL_EX                                              'ClassDocComment'
          9        DO_FCALL                                      0          
         10        CAST                                          6  ~5      $3
         11        SEND_VAL                                                 ~5
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Class ClassDocComment: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
243.73 ms | 1385 KiB | 15 Q