PHP Tek 2023 PHP Tek 2023 Login
PHP Internals Deep Dive
Speaker: Derick Rethans
PHP Internals Deep Dive

Level: Advanced
Length: Tutorial (3 hours)

Description:
In this tutorial we are going to dive deep into PHP's Internals. It is appropriate for people that know PHP as a language well, but are interested into finding out what goes inside in-depth. We will start by looking at how the language parser and scanner work, which convert scripts into an Abstract Syntax Tree. When then look at how PHP internal byte code is generated from this AST, and how the engine runs byte code. After the introduction, we will working together on extending the PHP core with a new feature. As a treat, we'll also have a look at the OPcache extension, and see which optimisations it does to generated byte code. Reasonable knowledge of C (or similar languages) is required to make the most of this tutorial. What You Will Learn ------- - How PHP works internally. - How to extend PHP with a new feature. - How OPcache does some of its optimisations. Required -------- For understanding the tutorial: - Moderate knowledge of C For taking part in the exercises: - A Linux machine or Linux VM - Compilers installed (apt-get install php-dev, or similar) - A GIT clone of the PHP source tree (git@github.com:php/php-src.git)

Thanks to our PHP Tek 2026 sponsors!
PHP Architect
(Platinum)
PHPScore
(Gold)
Displace
(Gold)
Previous Sponsors
PHP Architect
PHP Architect
PHP Tek 2025, PHP Tek 2024, PHP Tek 2023
Prompt
Prompt
PHP Tek 2025
WPConcierge
WPConcierge
PHP Tek 2025
Roave
Roave
PHP Tek 2025
typesense
typesense
PHP Tek 2025
Geocod.io
Geocod.io
PHP Tek 2025
Vehikl
Vehikl
PHP Tek 2025, PHP Tek 2024
Laravel
Laravel
PHP Tek 2025
OSMI
OSMI
PHP Tek 2025, PHP Tek 2024, PHP Tek 2023
Clayton Kendall LLC
Clayton Kendall LLC
PHP Tek 2025
NativePHP
NativePHP
PHP Tek 2025
Compassionate Coding
Compassionate Coding
PHP Tek 2024
Private Packagist
Private Packagist
PHP Tek 2024
Zend
Zend
PHP Tek 2024
SensioLabs
SensioLabs
PHP Tek 2024
Vonage
Vonage
PHP Tek 2024
PubNub
PubNub
PHP Tek 2024
FusionAuth
FusionAuth
PHP Tek 2024
DevITjobs
DevITjobs
PHP Tek 2024
PhpStorm
PhpStorm
PHP Tek 2023
Infobip
Infobip
PHP Tek 2023
PhoneBurner
PhoneBurner
PHP Tek 2023
platform.sh
platform.sh
PHP Tek 2023