Talking Garbage Collection with Derick Rethans

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
  • How to get the most out of garbage collection
Guests: Derick Rethans.
Hosted By: Benjamin Eberlei, and Matthew Setter.

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

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 Follow us on Twitter (@tidewaysio). Find out more about us at
Imprint | Twitter | @ 2019 Tideways GmbH