either way, for this performance really wouldn't be an issue regardless.

MattF

Feb 8th, 2010, 09:55 PM

either way, for this performance really wouldn't be an issue regardless.

That's why I mentioned there may be no real world difference. :) I'm merely working from the recommendations on the php site. For straight string matching, they suggest using the str functions over the preg ones. I've never done any benchmarks personally though.