I want to know how her reference executes a process. This is a reference. When I remove the quotation marks, I want to know how her reference places arrays one by one.
I want to know how her reference executes a process.
This is referenced.
When I remove the quotation marks, I want to know how the array is put one by one.
Reply content:
I want to know how her reference executes a process.
This is referenced.
When I remove the quotation marks, I want to know how the array is put one by one.
After drawing a graph, we can see that the php array is a graph structure.
Traverse array if the current node has a parent node, put the current node under the parent node
Add the current node to $ tree [] if there is no parent node (that is, the root node).
When reference is used, the original value will change when you operate the reference. When the value is passed, another array will be generated when you operate.
This is equivalent to a value transfer when I tell you "a's separation" and ".