Home  >  Article  >  Backend Development  >  php5.1.6情况下,出现RECURSION。求立!

php5.1.6情况下,出现RECURSION。求立!

WBOY
WBOYOriginal
2016-06-13 11:43:401105browse

php5.1.6情况下,出现RECURSION。求破!!!
$m = array('1');
$m['a'] = $m;
print_r($m);
die;
?>

这是简单的一个测试。输出的结果是
Array ( [0] => 1 [a] => Array *RECURSION* )

但是我想要的结果是:
Array ( [0] => 1 [a] => Array ( [0] => 1 ) )

应该改那个地方? 求大神解答

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn