<?php class foo { protected $bar; public function check(){ var_dump(property_exists($this,'bar')); } } $foo = new foo(); $foo->check();
You have javascript disabled. You will not be able to edit any code.