What does $$ mean?
What does $$ mean?
In PHP, the $$ symbol is used to create a variable variable. It allows you to use the value of a variable as the name of another variable. Here's how it works:
When you have a variable that contains the name of another variable, you can use $$ to access the value of that variable.
For example, if you have a variable $foo that contains the string "bar", then $$foo is equivalent to $bar.
Here's an example:
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.