这两者有什么区别? [英] Any difference between these two?

查看:64
本文介绍了这两者有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下

片段之间是否存在任何功能差异:


//首先

$ lines [] =数组();

$ line =& $ lines [count($ lines) - 1];


//秒

$ line = array();

$ lines [] =& $ line;


他们应该做的事情。我头脑中的一个声音虽然说有一个微妙的差异。

Is there anything funcationally difference between the following
snippets:

// first
$lines[] = array();
$line =& $lines[count($lines) - 1];

// second
$line = array();
$lines[] =& $line;

They should do the thing. A voice in my head though is saying there''s a
subtle difference.

推荐答案

行[ ] = array();
lines[] = array();


line =&
line =&


lines [count(
lines[count(


这篇关于这两者有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆