Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

PHP Opcache Explained

PHP UK Conference via YouTube

Overview

Explore the inner workings of PHP's OPCache mechanism in this comprehensive PHP UK Conference talk. Delve into the details of how OPCache functions, its impact on PHP, and optimal setup strategies for maximum performance and stability. Gain a thorough understanding of PHP's engine, its virtual machine, and the intricate interactions between OPCache and PHP's complex architecture. Learn about opcode caching, shared memory usage, PHP opcodes, compilation processes, and various optimization techniques. Discover the OPCache API, essential settings, statistics, and keys. Understand the importance of cache consistency, restart scenarios, and logging. By the end of this talk, acquire a complete understanding of OPCache and its role in accelerating PHP applications.

Syllabus

Introduction
What is PHP
How does PHP work
Virtual Machine
Passing and Compile
Compile time
Classes
Cash Opcache
Load Opcache from Shared Memory
PHP
Opcodes
PHP Code
Appa
Examples
Complex Code
Post incrementation
Reusing temporary variables
Constant substitution
Compilation
Invariant Motion
String
Optimization
Opcache API
Opcache Settings
Opcache Statistics
Opcache Keys
Cached Keys
Cash
Why restart
Opcache log
Fast shut down
Consistency check
Questions
Stats

Taught by

PHP UK Conference

Reviews

Start your review of PHP Opcache Explained

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.