Talk in English - US at php[tek] 2024
Track Name:
PHPUgly Hall
View Slides: https://speakerdeck.com/omnicolor/dark-corners-tek
Checkout the code: https://github.com/omnicolor/dark-corners-of-the-spl
Short URL: https://joind.in/talk/ee6cb
(QR-Code (opens in new window))
PHP is a huge language, with lots of "kitchen sink" functionality for you to build data structures with. But did you know PHP includes a standard library that has built-in structures like linked lists, queues, stacks, and higher-performance arrays? This talk will cover a few of the more interesting ones in depth, including how to use them and most importantly why you'd use them over other solutions.
Comments
Comments are closed.
Great refresher to remind us that the Standard Php Library offers amazing tooling and should be understood. Thank you!
Great explanation of SPL capabilities. I particularly enjoyed the examples for the Observers - the nostalgia was strong. It definitely left me with some”homework” to look into whether there are areas we can improve our memory consumption.
It's imperative to reach for the right tools depending upon the scenario, and Omni's presentation highlighted well some areas of the PHP language that might be overlooked by developers.
All kinds of great functions and data types here we can use to help improve our application (and not just use arrays for everything).
Good reminder of some of the useful (and some not so useful) SPL data structures and tools that are available.