This may be a silly question to some, but I was curious how would PHP react to something such as:
$blog_title = &$author->get_blog()->get_title();
I'm assisting someone with some upgrades to an in house php framework. There is some serious method chaining going on, repeatedly in some places. I'd like to make the code more readable without unnecessary copies of variables. I'm unable to overhaul the code, so I have to work with what I've got.
I know it's probably not a great practice, but what are the potential downsides?