fix numeric keys in array
added some unit tests for previous merge
updated CHANGELOG
fixed getAttribute for array access with a boolean or float key
added changelog entry about fixed boolean array access
improved error message for non-existent or invalid attributes
refactored getAttribute
fix test that that would not fail if no exception is thrown
added tests for array access with confusable keys

array keys like boolean, numeric but string, floats, null
further improved exception message and distinguish array_call and any_call access
rename item to attribute in the exception message because that's the term that is used in twig, e.g. the  function
updated C extension accordingly
[ext] updated PHP code documenting C code
[ext] code cleaning
[ext] improvements
[ext] fixed tabs
Merge pull request #3 from tucksaun/patch-1

Updating C extension
merged branch Tobion/patch-1 (PR #1030)

This PR was merged into the master branch.

Discussion
----------

fix numeric & boolean & float keys in array

Reopened PR of #878

Commits
-------

2c56b70 Merge pull request #3 from tucksaun/patch-1
17d6cc7 [ext] fixed tabs
46012ce [ext] improvements
21f8062 [ext] code cleaning
9347c52 [ext] updated PHP code documenting C code
b41ce60 updated C extension accordingly
e5291e1 rename item to attribute in the exception message because that's the term that is used in twig, e.g. the  function
a93f0dc further improved exception message and distinguish array_call and any_call access
26bac14 added tests for array access with confusable keys
db744d5 fix test that that would not fail if no exception is thrown
9ea16ec refactored getAttribute
6fb5afa improved error message for non-existent or invalid attributes
fdfd506 added changelog entry about fixed boolean array access
da616c5 fixed getAttribute for array access with a boolean or float key
b6acf9d updated CHANGELOG
c4d5b3f added some unit tests for previous merge
e84448b fix numeric keys in array
fixed CHANGELOG