Home Forums PHP Variable Variables in PHP

Viewing 1 post (of 1 total)
  • Author
  • #671
    Usman Haider

    An interesting information about PHP variables is that they can be called using the variable values. That’s why these kind of variables are called variable variables. These can be used in the following way:

    These kind of variables are used where we want to print the value by calling the variable with same name, but returns different values each time because the actual name of variable is dynamic.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.