3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test {public function __constructor($test){var_dump($test);}} $r = new \ReflectionClass('Test'); $r->newInstanceArgs(array());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YCXMd
function name:  (null)
number of ops:  8
compiled vars:  !0 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $1      'ReflectionClass'
          1        SEND_VAL_EX                                              'Test'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    8     4        INIT_METHOD_CALL                                         !0, 'newInstanceArgs'
          5        SEND_VAL_EX                                              <array>
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class Test:
Function __constructor:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YCXMd
function name:  __constructor
number of ops:  5
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
          4      > RETURN                                                   null

End of function __constructor

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.05 ms | 1399 KiB | 15 Q