The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
What's faster? preg_replace or str_replace?
Title says it all, what's faster? Preg_replace or str_replace if I just want to change templates by writing plugins?
|
#2
|
||||
|
||||
str_replace.
Simple text comparison is always faster than regex. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|