Closed jimmyleeeeee closed 4 years ago
When there is code using "new self" or "new static" looks like the code below:
class CTest { public $name = 4; public static function getName() { $writer = new static; return $writer->name; } }
when use vld to print the opcode. The operands of new instruction is "undef".
For "new self; ", the op is null.
Is there anyway to show the class name?
When there is code using "new self" or "new static" looks like the code below:
when use vld to print the opcode. The operands of new instruction is "undef".
For "new self; ", the op is null.
Is there anyway to show the class name?