On Tue, May 16, 2017 at 5:21 PM, Christoph M. Becker <cmbecke...@gmx.de> wrote: > Personally, I rarely use array_key_exists(), but others may prefer it, > and it appears to be cleaner not to set unmatched subpatterns at all. > And if we're going to add a flag anyway, it appears to be reasonable to > change the behavior right away, i.e. to introduce something like > PREG_SKIP_UNMATCHED instead of PREG_UNMATCHED_AS_NULL. > ftr; I'm fine either way. My only beef is that default behavior doesn't unnecessarily break BC. :D
-Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php