PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
There have been several code snippets published on our forums that can fetch a variable name (I posted one of them). If not, look in the user comments on the print_r() page of the manual. Several developers have posted tips on how to do what you are after.