Jump to content

[SOLVED] Two quick questions?


VirusDoctor

Recommended Posts

Hi guys, I have two quick questions to ask (this is really for the people that really know the answer to this, no assumptions or guesses please)

 

Firstly, if a person has many comments or comment blocks in a script, does it slow the script down at all? Like are the comments seen by the server or are they merely ignored?

 

Secondly, if one has a fairly big functions.php file included throughout a script and certain pages of the script only use a few of the functions in the functions.php file, is the whole file processed by php or does it only fetch the functions it needs for that page and ignore the rest? In short, does this slow a script down?

 

Thanks in advance for the reply guys.

 

Shaun

Link to comment
https://forums.phpfreaks.com/topic/81630-solved-two-quick-questions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.