Array's pointers are reset when the original array is logically
copied and thus has 2+ reference counts internally. This doesn't happen
if it is not logically copied.
$a = array("one", "two");
next($a);
var_dump(current($a)); //=> "two"
$b = $a;
var_dump(current($a)); // => "one"
?>
I would like to leave my memos related to my "kung-fu" for some technology insights. Kung-fu doesn't only mean a battle style, but means hacking one's own life.
Subscribe to:
Post Comments (Atom)
-
Great demonstrations of powerful combination of recent deep neural networks applications - stacked hourglass networks for human pose estima...
-
A caveat for programming in C++ for ROS (Robot Operating System). The core ROS architecture is of the pub-sub messaging framework , where ...
-
In April, the "Linked Data Basic Profile 1.0" was published as a W3C member submission , lead by IBM Rational but involving other...
No comments:
Post a Comment