函数返回有两种方式:传值返回(Return byValue)和引用返回(Return by Reference)。因此本节将分别从函数调用和函数返回两个方面介绍引用的用法。
基于16个网页-相关网页
PHP 4 added the ability to pass and return by reference.
PHP 4添加了基于引用的传递和返回功能。
The paper makes in-depth analysis about essence of call by values and call by references, return by value and return by reference, also explains these through some examples.
笔者系统地分析了函数参数传递中值调用和引用调用以及函数值返回和引用返回的本质,并举例进行了说明。
The previous section showed how to reference another sequence diagram by passing information through parameters and return values.
前面的段落展示如何通过参数和返回值传递信息,引用另一个序列图。
应用推荐