Utility to quickly and safely access PHP arrays