[PHP] Solve Call-time pass-by-reference has been removed

It is no longer necessary to add a reference & symbol in the parameter in the call function of PHP

Just add & when defining the parameters of the function


So try to change the code

For example, function test(&$a)  

When calling test(“aaaa”) without adding ampersand

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *