mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
107fd201bf
This PR was merged into the master branch. Discussion ---------- Adding ignoreStrictCheck option for call_user_func_array, if throwing exception Same as #1236 with added unit tests and C extension support (to come). "I experienced the issue when using FuelPHP's ORM with EAV containers. When I tried to reference a property that was not defined I expected to get null, but instead the whole application stopped because an exception was thrown in the ORM, that no such function is present. I couldn't find other possible exception that could be thrown when this function is called, so I assumed it's safe to take the ignoreStrictCheck into consideration here." Commits -------1abf5d9[ext] Mirroring PHP change for call_user_func_array, see #12869ab290badded tests for exceptions thrown in __call()c711d37Adding ignoreStrictCheck option for call_user_func_array, if throwing exception