ide version
plugin version
get_object_vars support,but get_class_vars no support
<?php
declare(strict_types=1);
class Foo
{
public string $name;
public function getClassVars(): array
{
return get_class_vars(static::class);
}
public function getObjectVars(): array
{
return get_object_vars($this);
}
public function todo()
{
$c = $this->getClassVars()['']; // no support
$o = $this->getObjectVars()['name']; // support
}
}
ide version
plugin version
get_object_vars support,but get_class_vars no support