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

YouTube

Introduction to PHP Extensions

PHP UK Conference via YouTube

Overview

Explore the world of PHP extensions in this 48-minute conference talk from PHP UK Conference 2018. Learn how to convert PHP functions into loadable C extensions through step-by-step examples. Compare performance between PHP and C implementations, discover the benefits of writing extensions, and understand why starting with simple tasks is crucial. Delve into topics such as wrapping libraries, implementing algorithms like Ramer-Douglas-Peucker, extension components, building process, function implementation, input parameter parsing, and memory management. Gain insights into testing extensions and grasp why rewriting entire frameworks in C isn't practical.

Syllabus

Intro
What are extensions?
Wrapping Ubraries
Unpossible in userland
Why not implement something in an
Ramer-Douglas-Peucker algorithm
What makes up an Extension?
Building the Extension
Implementing the function
Parsing Input Parameters
Memory Management
Example Test File

Taught by

PHP UK Conference

Reviews

Start your review of Introduction to PHP Extensions

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.