Do php comments get server time?

I am working to speed up the response time of the website I'm currently working on. Can someone tell me if the php parser takes time to look at the code in the comment blocks, or is it completely ignored? I ask because I am wondering if many large blocks of code with comments will remove anything in order to improve page rendering time. Thank.

+3
source share
8 answers

They are ignored. The PHP tokenizer essentially jumps right above them.

+12
source

"" . , .

, , .

+4

(eaccelerator, xcache, apc simialar) php .

, db. (??)

, - .

+3

PHP, (, apc). PHP

+3

, 2000 , Facebook 500 000 000 . , , , .

+2

APC ( ), - ( ), . , .

+2

; , . -, .

0

Hip Hop Search Php. Facebook uses it to compile Php to its own code. Very fast.

0
source

Source: https://habr.com/ru/post/1780323/


All Articles