Introduction to PHP Extensions
Offered By: PHP UK Conference via YouTube
Course Description
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
Related Courses
What's New in PHP 8.1PHP UK Conference via YouTube From Betamax to VCR - Harden Your API Integration Testing
PHP UK Conference via YouTube Levelling Up Your Web Scraping Game
PHP UK Conference via YouTube Practical Advanced Static Analysis
PHP UK Conference via YouTube PHP Fibers
PHP UK Conference via YouTube