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
Update json_encode.rst

a more-useful description of the "options" argument >_>
merged branch ThatGuyBen/patch-1 (PR #1048)

This PR was merged into the master branch.

Discussion
----------

Update json_encode.rst

a more-useful description of the "options" argument >_>

Commits
-------

742043f Update json_encode.rst
tweaked previous merge
Fixed twig filesystemloader security issue + test (closes #1026)
updated CHANGELOG for previous commit
prepared the 1.12.2 release
bumped version to 1.12.4-DEV
[ext] updated PHP code documenting C code