The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Speeding up PHP
I'm am embarking into the world of template systems ( turns out Conditionals are incredibly easy to do... ), and one of the things I'd like to try is a light PHP optimizer. I'm not talking about an accelerator, but a PHP script which optimized PHP files directly.
So what is considered 'faster' with PHP? So far I have (guessing)
I am guessing embing user-functions directly into the code is actually slower for PHP as it has to compile. Please remember I am a nub. |
#2
|
||||
|
||||
You might as well try XCache as it compiles all the code beforehand and caches it, and will benefit you more than making code hell to read.
Also, some of the things you suggest will break functionality under certain conditions, such as "Replace == with ===, != with !==, etc.". It won't make code any faster, and those operators have different meanings. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|