$obj->methoda->methodb->methodc
If you don't know whether or not methoda returns null or not, you need to check for that. And such chains are a sign of bad design (aka TOO MANY OBJECTS!).
In reply to Re: The Null Mull (or, when OO needs more O)
by Anonymous Monk
in thread The Null Mull (or, when OO needs more O)
by brian_d_foy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |