Y
Hacker News
new
|
ask
|
show
|
jobs
by
flir
2148 days ago
There's another way to get a variable starting with a numeral - abusing extract(), I think.
1 comments
paledot
2147 days ago
I've seen a few workarounds, each worse than the last, including casting back to array, round-tripping through JSON with the array flag set, and reflection. Hence the public service announcement that this is perfectly doable with the correct syntax.
link