Does PHP support passing parameters by reference, where you will have a function call like my_function($var1, $var2) and my_function will have the ability to change var1, var2, which will be seen by the calling code. For example:
$var1 = 1;
$var2 = 2;
$var3 = $var1 + $var2 //would equal 5
$var1 = 2;
$var2 = 3;
if this possible in PHP, and more so in a class public static function? If not, how can I accomplish this?