PHP object like array

wrestlinginc

New Member
I need to be able to set my object like this:\[code\]$obj->foo = 'bar';\[/code\]then after that is set i need the following to be true\[code\]if($obj['foo'] == 'bar'){ //more code here}\[/code\]
 
Back
Top