PHP Basics
What this topic covers
Work with PHP syntax, variables, operators, and control flow, then use language features and configuration settings to shape runtime behavior. Recognize how OPcache stores compiled scripts for the web SAPI.
What is OPcache and what does it do for PHP scripts?
OPcache is PHP's bytecode cache. When enabled for the web SAPI, it keeps compiled scripts in shared memory, so PHP skips recompiling them on each request. This saves CPU time on busy sites, and it helps most when the same files run again and again.