A->b->c might exist but c might not exist. How do I check it?
A->b->c
c
The 3 ways I can confirm work in PHP 5.5.23 were using isset() count() or empty()
isset()
count()
empty()
Here is a script to show the results from each:
https://gist.github.com/mchelen/306f4f31f21c02cb0c24