是,
$tempParams = $params;
将所有值从$ params复制到$ tempParams.
$params['foo'] = 'bar'; echo $tempParams['foo']; //nothing $tempParams = $params; echo $tempParams['foo']; //'bar' $params['foo'] = 'hai'; echo $tempParams['foo']; //still: 'bar'