PHP Tek 2025 PHP Tek 2025 Login
Extending the PHP language with PHP
Speaker: Dave Liddament
Extending the PHP language with PHP

Level: Advanced
Length: Standard (50 minutes)

Description:
Do you wish that PHP had features that other languages have? Have you got some great ideas about how to extend PHP’s feature set but don’t want to go through the RFC process? Great news. There is another way. It is possible to implement some new language features using static analysis. This talk will briefly introduce the PHP Language Extension library; which offers features such as Java’s package level visibility and C++’s friend feature. Then, we’ll take a deep dive into how to create a custom PHPStan rule. By the end of the talk, hopefully you’ll be inspired to create your own enhancements to PHP, or at the very least have a starting point to write your own custom rules.

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