<?php class A { protected $test1; protected $test2; public function __construct () { var_dump(get_class_vars(get_class($this))); } } $a = new A();
You have javascript disabled. You will not be able to edit any code.