Using the Internal Array Pointers to Access Elements
Tutorials Shared by the Internet Community
Total Hits - 33396
Total Votes - 98 votes
Vote Up - 42 votes
Vote Down - 56 votes
Domain - www.talkphp.com
Category - PHP/PHP Misc
Submitted By - Devesh Khanna
Submitted on - 2008-03-19 05:37:19
The native array pointer functions in PHP allow you to traverse an array without actually referring to specific array elements. They can be particularly useful if you're using an associative array and wish to use the first element in the array.
An internal array pointer, in PHP, is fundamentally an invisible pointer that points to a particular record in an array. More detail...