3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $propr = []; function __construct() { $this->props = func_get_args(); } } var_dump(new MyClass(1, 2, 3, 4, 5));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WVdtQ
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'MyClass'
          2        SEND_VAL_EX                                              1
          3        SEND_VAL_EX                                              2
          4        SEND_VAL_EX                                              3
          5        SEND_VAL_EX                                              4
          6        SEND_VAL_EX                                              5
          7        DO_FCALL                                      0          
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Class MyClass:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WVdtQ
function name:  __construct
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   FUNC_GET_ARGS                                    ~1      
          1        ASSIGN_OBJ                                               'props'
          2        OP_DATA                                                  ~1
   10     3      > RETURN                                                   null

End of function __construct

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.76 ms | 1394 KiB | 15 Q