On Fri, Apr 13, 2012 at 12:42 AM, Galen Wright-Watson <ww.ga...@gmail.com> wrote: > Just to be clear, under the new behavior, calling "empty" or "isset" on > undefined variables and undefined array indices shouldn't produce a notice > when E_NOTICE is set, correct? Basically, the change isn't regressive. Yup, that's right. So the change is BC-safe :)
> If this is so, how about adding appropriate regression > tests to empty_with_expr.phpt and empty_with_isset.phpt? The normal empty()/isset() behavior (including the suppression of the notice) is tested in a few other tests, that's why I didn't add additional tests for it there :) Nikita -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php