February 21-23, 2024
Montreal, Canada

Introduction to PHP Extensions

In this presentation, we take a look at writing PHP extensions. Using step-by-step examples, we'll take a function written in PHP and convert it into a loadable extension using C. We'll then test both versions and compare the results. After seeing the size and scope of the benefits that can be realized, you'll want to try it out for yourself. You'll also understand why we start with simple things, and not try to rewrite all of Symfony in C.

View all 171 sessions

Derick Rethans

Derick Rethans is a PHP internals expert and author of Xdebug. He works as an independent contractor and consultant on PHP extensions, the PHP language, and related projects.

He works for the PHP Foundation to improve PHP, and continues to contribute to the PHP project in numerous forms. He is a frequent lecturer at conferences, the author of php|architect's Guide to Date and Time Programming, and the co-author of PHP 5 Power Programming.

Read More

Montreal 2024 sponsored by