3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WebServiceCivilNetEnfance { public function SchoolRegistration() { } public function SchoolCanteen() { } } $reflector = new ReflectionClass('WebServiceCivilNetEnfance'); print_r($reflector->getMethods());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tG7LJ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $reflector
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'ReflectionClass'
          1        SEND_VAL_EX                                              'WebServiceCivilNetEnfance'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   15     4        INIT_FCALL                                               'print_r'
          5        INIT_METHOD_CALL                                         !0, 'getMethods'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Class WebServiceCivilNetEnfance:
Function schoolregistration:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tG7LJ
function name:  SchoolRegistration
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   null

End of function schoolregistration

Function schoolcanteen:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tG7LJ
function name:  SchoolCanteen
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E > > RETURN                                                   null

End of function schoolcanteen

End of class WebServiceCivilNetEnfance.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.75 ms | 1395 KiB | 15 Q