Functions and References
<?php $val1 = ""; $val2 = ""; function return_multi_value(&$value1, &$value2) { $value1 = "This is the first value"; $value2 = "This is the second value"; } return_multi_value($val1, $val2); print("$val1<br />$val2<br />"); ?>