I am a novice, what I want to ask is, if the variable assigned in the third line is assigned again in line 7, the result is the assignment in line 7, and the assignment in the third line above is executed. .
At this time, $a not only assigns the value of $b, but also obtains the location of $b in the memory. Therefore, when $a changes, the variable value here in the memory also changes. , $b also changes.
Reference assignment is used here. Please see this sentence. Declaration $bar = &$fo;Add ampersand before $fo. What is the value of $bar? What is the value of $fo
$a = &$b;
At this time, $a not only assigns the value of $b, but also obtains the location of $b in the memory. Therefore, when $a changes, the variable value here in the memory also changes. , $b also changes.
Reference assignment is used here. Please see this sentence. Declaration $bar = &$fo;Add ampersand before $fo. What is the value of $bar? What is the value of $fo