class Test {
public $p_var;
public function f() { echo($p_var); }
}
if (property_exists('Test', 'p_var'))
echo "property exists<br />";
if (property_exists('Test', 'P_var'))
echo "property exists<br />";
else
echo "property NOT exists<br />";
/*
run:
property exists
property NOT exists
*/