function returned array element in single statement
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread