Categories

Jun 23, 2019 in PHP

Q: How can you pass a variable by reference?

1 Answer

Jun 23, 2019

To be able to pass a variable by reference, we use an ampersand in front of it, as follows $var1 = &$var2

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Jun 22, 2019 in PHP
Jun 23, 2019 in PHP
Jun 23, 2019 in PHP
...