Forum Moderators: coopster
In your example however $data is 10, because that is the value you are assigning to it. ;) Such variables are, well, variable, not constant. When you assign a new value like in your example, then the old one will be "lost".