![]() |
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. |
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. |
All times are GMT. The time now is 11:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|