3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data=['entities'=>['Q3045586'=>['claims'=>'here we are!']]]; // If we know the id Q3045586, it is easy to find the claims: echo $data['entities']['Q3045586']['claims']; // Any elegant solution if we don't?
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.28 - 7.3.1
here we are!