From: Fabien Potencier Date: Tue, 3 Dec 2013 14:08:30 +0000 (+0100) Subject: feature #1286 Adding ignoreStrictCheck option for call_user_func_array, if throwing... X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=107fd201bf983d20e5d98ab65ccbdfe6bc1fd611;p=web%2Fkonrad%2Ftwig.git feature #1286 Adding ignoreStrictCheck option for call_user_func_array, if throwing exception (fabpot) 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 #1286 9ab290b added tests for exceptions thrown in __call() c711d37 Adding ignoreStrictCheck option for call_user_func_array, if throwing exception --- 107fd201bf983d20e5d98ab65ccbdfe6bc1fd611 diff --cc CHANGELOG index 1d80b36,48838a3..3ac844b --- a/CHANGELOG +++ b/CHANGELOG @@@ -1,6 -1,6 +1,7 @@@ * 1.15.0 (2013-XX-XX) + * made ignoreStrictCheck in Template::getAttribute() works with __call() methods throwing BadMethodCallException + * added min and max functions * added the round filter * fixed a bug that prevented the optimizers to be enabled/disabled selectively * fixed first and last filters for UTF-8 strings