mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
cbbbab9065
This PR was merged into the master branch. Discussion ---------- fix numeric & boolean & float keys in array Reopened PR of #878 Commits -------2c56b70Merge pull request #3 from tucksaun/patch-117d6cc7[ext] fixed tabs46012ce[ext] improvements21f8062[ext] code cleaning9347c52[ext] updated PHP code documenting C codeb41ce60updated C extension accordinglye5291e1rename item to attribute in the exception message because that's the term that is used in twig, e.g. the functiona93f0dcfurther improved exception message and distinguish array_call and any_call access26bac14added tests for array access with confusable keysdb744d5fix test that that would not fail if no exception is thrown9ea16ecrefactored getAttribute6fb5afaimproved error message for non-existent or invalid attributesfdfd506added changelog entry about fixed boolean array accessda616c5fixed getAttribute for array access with a boolean or float keyb6acf9dupdated CHANGELOGc4d5b3fadded some unit tests for previous mergee84448bfix numeric keys in array