In this presentation, we take a first look at writing PHP extensions. Using step-by-step examples, we'll take a function written in PHP and convert them 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 with only a few minor changes, 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.
Level: Advanced

Comments

Comments are closed.

Rated 5

Luis Ferro at 11:15 on 16 Feb 2018

Very dense as expected. Looking forward to the slides / blog about the dark arts of extension development ;)

Rated 5

Craig Duncan at 11:16 on 16 Feb 2018

Fantastic talk which really helped to understand some of the confusing aspects of internals.

The pace was perfect and packed in plenty of information without going rushed

Rated 4

Niklas Dzösch at 11:16 on 16 Feb 2018

A lot to take in, but delivered very well.

Great look under the hood of extensions and their complexity. A lot of information to absorb but delivered in an way that softened the blow consderably.

Rated 5

James Titcumb at 16:29 on 16 Feb 2018

Always interesting hearing from Derick. Very clear explanations of quite a complex thing. Nice!

Rated 5

Jeremy Onion at 21:34 on 16 Feb 2018

Complex subject nicely dealt with.