in php what does for each field as prop code example Example: php loop through object foreach ($obj as $key => $value) { echo "$key => $value\n"; }