you should give it a try and see if you do have an overflow then. you shouldn't, though. if you do, however, then you would have the same overflow if one regular expression did do it all anyway. the array would be the same size. if PHP is going to crash by you doing it manually, it's going to crash when it creates the array itself, too.