Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into PHP's inner workings with this advanced conference talk from PHP UK Conference 2014. Explore common performance issues by examining PHP's C internals, going beyond traditional profiling methods. Learn why certain code constructs are faster than others, including the difference between ++$i and $i++. Gain insights into tokenizing, string interpolation, variable handling, global code execution, and function calls. Suitable for experienced PHP developers familiar with profiling techniques, this 36-minute presentation covers topics such as opcode generation, method overloading, and the intricacies of string creation and manipulation in PHP.
Syllabus
Introduction
What is profiling
What is bad code
Tokenizing
Inter interpolated vs non interpolated strings
String creation
VLD
Opcodes
Variables
Global Code
Eval
Post increment
String interpolation
Function calls
Method overloading
Taught by
PHP UK Conference