more php like array management
Merge pull request #2 from pfefferle/master

same as in my last commit — back compatible PHP array syntax