Variable variables are one of my favorite things about PHP. PHP allows you to use a variable to reference another variable. This comes in exceptionally handy when you need to create variable names dynamically:
Let’s say you have you have a variable that uses another variable as part of the name:
Granted this is a very simple example to demonstrate the functionality. Real world usage could end up being more complex and really show off the power of variable variables.