3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rf = new ReflectionFunction('DOMDocument', 'loadHTML'); echo $rf->getNumberOfParameters();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q5CiS
function name:  (null)
number of ops:  9
compiled vars:  !0 = $rf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'ReflectionFunction'
          1        SEND_VAL_EX                                              'DOMDocument'
          2        SEND_VAL_EX                                              'loadHTML'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
    4     5        INIT_METHOD_CALL                                         !0, 'getNumberOfParameters'
          6        DO_FCALL                                      0  $4      
          7        ECHO                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.6 ms | 1392 KiB | 13 Q