forked from: Accessing Array elements vs dynamic variables with brackets

