20k Lines Under the C: A Guide to the PHP Startup Process and Hooking Absolutely Everything

Joe Rozner (27.Jul.2018 at 14:30, 45 min)
Talk at PHPDetroit Conference 2018 (English - US)

Rating: 4 of 5

Have you ever wondered how super globals get initialized or been curious what happens before your code is turned into an http response? Have you ever wanted to add a new feature to PHP that you could deploy across all the applications hosted on a server? 20k Lines Under the C dives deep into the source of the PHP runtime, extension APIs, and parts that make it translate your code into web pages. We’ll begin by looking at how web servers provide PHP the request information. We’ll follow the startup process making stops along the way pointing out the internal structure and key parts during execution where various data is initialized and processed. Through this journey we’ll learn about some of the special data types that PHP exposes and the APIs used to interact with them. Finally we’ll explore the the different types of PHP integrations and explore how to insert hooks into just about everything providing ways to inspect and change the behavior.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= zero plus eight

Comments

Rating: 4 of 5

28.Jul.2018 at 15:05 by Steve Grunwell (128 comments) via Web2 LIVE

The talk was full of all sorts of great information, but it definitely made a lot of assumptions about how comfortable PHP developers were with C concepts. Perhaps the best name for a conference talk, though!

© Joind.in 2018