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.


Comments are closed.

Eric Poe at 11:53 on 20 Apr 2018

Heavy information, with great practical advise while writing an extension.

John Vernier at 15:31 on 20 Apr 2018

I enjoyed Derick's talk. Even though I don't anticipate a need for writing our own extensions anytime in the near future, it was still cool to see how it was done.

It was also a fun trip down memory lane trying to remember how C works :)