3 ms·
"You can't do: $something->doStuff()[0]" Yes you can. "Speed" Care to expand on this one?
by xd 14y ago
"You can't do:
$something->doStuff()[0]"
Yes you can.
"Speed"
Care to expand on this one?
- mgkimsal 14y ago"You can't do: $something->doStuff()[0]" Yes you can. ------------- AFAIK, yes, in PHP 5.4 only so far, which is only about 4 months old. The first 15+ years of PHP's life, no, that wasn't possible. I'm glad it's there now, but frustrated it took so long.
- Produce 14y agoDid not know this!