hi all,
i am wondering if there is any way to access array elements in a single statement, without defining new function or using loop etc...
using arrary syntax: getallheaders()['User-Agent']; or object syntax: getallheaders()->User-Agent; or similar. or even a uilt-in function like get_element_by_key(getallheaders(),'User-Agent');
i've been searching for some time but did not find any.
