SyntaxFix
Write A Post
Hire A Developer
Questions
Here is another way to express the object property.
foreach ($obj as $key=>$value) { echo "$key => $obj[$key]\n"; }