output: Bob My name is Bob My name is Bob You can see that the original value is modified, which occurs after the reference and assignment, but the original variable will not change before it is assigned. Articles you may be interested in: Detailed introduction to php reference passing by value Understand the difference between passing by value and passing by reference in PHP through examples Look at the efficiency issues of php address reference through examples Quotes in PHP, "&" explanation |