<?php
function
printString(&
$string
){
echo
(
);
=
"打印完成"
;
}
$str
"测试字符!n"
printString(
?>
// 程序输出:测试字符! 打印完成