Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What does & beside argument mean in function declaration of e.g. asort()?

Declaration function mean
0
Posted

What does & beside argument mean in function declaration of e.g. asort()?

0

It means that the argument is passed by reference and the function will likely modify it corresponding to the documentation. You can pass only variables this way and you don’t need to pass them with & in function call (it’s even deprecated).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123