> > PREG_SKIP_UNMATCHED instead of PREG_UNMATCHED_AS_NULL. > I'm just wondering if having holes in the resulting array is a good idea. It may complicate reading dumps and forces using "foreach" vs "for". I'm also wondering if the original proposal wouldn't be better (having NULL for *all* nonmatches, even trailing ones), if possible.
Anyway, I'm fine with either. It's just out of my skills right now so feel free to take over my PR ... sorry. Nicolas