Suppose there is such a function
function a() { static $var = 0; $var++; return $var; } and there is such a function
function &b() { static $var = 0; $var++; return $var; } What is their difference?
Updated!
In the picture below, I tried to explain the understanding of each case.
If I somehow incorrectly explained or understood, write to me, I will correct it (This refers to the image attached above)
$var = b();Will the link be returned only if the ampersands are in 2 places? - MaximPro