Check if a class has a field by string

turbovps

New Member
I would Google this, but honestly I have no idea what to search forSay I have this class\[code\]class a{ public $a_a, $a_b, $a_c;}$true = "a_a";$false = "a_e";\[/code\]How do I use the strings to prove that the class contains the field a_a, but not a_e ?Thanks
 
Back
Top