Can PHP check for values in deep arrays?
I often deal with large JSON objects. In many cases data is nested within deep layers, and isn't guaranteed to be present. For example, I would love to use the following code: $images = $json['data']['article']['media']['assets']['crops']['featured-image']; However, perhaps the article doesn't…