Advanced PHP
Q94 / 100

What is PHP's preloading feature (PHP 7.4+)?

Correct! Well done.

Incorrect.

The correct answer is B) opcache.preload compiles specified PHP files once at FPM start, storing compiled bytecode in shared memory for all worker processes

B

Correct Answer

opcache.preload compiles specified PHP files once at FPM start, storing compiled bytecode in shared memory for all worker processes

Explanation

With preloading, frameworks precompile their core files. Workers inherit the preloaded code without parsing overhead. Requires FPM restart to update preloaded files.

Progress
94/100