In this episode, Benjamin and Matthew talk with Xdebug creator, Derick Rethans, about garbage collection in PHP; what it is, how it got started, and some inside information on getting the most out of it.
Thanks to PHP being an interpreted language and it that it has a garbage collector, PHP developers don't often have to think about memory management. Unlike developers in compiled languages, such as C/C++, we don't have to give that much thought to memory allocation and deallocation.
However, it's helpful to have a broad understanding of how garbage collection works in PHP, along with how you can interact with it so that you can create high performing applications.
In this episode, Benjamin and Matthew, talk with Derick Rethans about:
The basics of how garbage collection works in PHP
About how Xdebug and garbage collection in PHP came about
About some of the functions available for interacting with it
Thanks for tuning in to the Undercover ElePHPant. If you’d like to be a guest on the podcast or know someone very knowledgeable in writing highly performant and scalable PHP applications, email firstname.lastname@example.org.
This podcast is produced by Tideways. Don't look further for an all in one Monitoring, Profiling and Exception Tracking software for PHP applications available on tideways.com. Follow us on Twitter (@tidewaysio). Find out more about us at https://tideways.com.
What is The Undercover ElePHPant?
The Undercover ElePHPant is a podcast about scaling and optimizing your PHP applications. Each week, Benjamin Eberlei and Matthew Setter sit down with an expert from the PHP community to discuss a specific aspect of highly performant PHP applications.