PHP 4 added the ability to pass and return by reference.
PHP4添加了基于引用的传递和返回功能。
Why does this method pass 'stop' by reference instead of return?
为什么这个方法通过“停止”而返回参考?
You can only return variables by reference, not the result of a statement.
你只能返回引用的变量,而不是使用一个表达式的结果。
You can only return variables by reference, not the result of a statement.
你只能返回引用的变量,而不是使用一个表达式的结果。
应用推荐