Using the Internal Array Pointers to Access Elements

Tutorials Shared by the Internet Community

Advertisements


Synopsis

An internal array pointer, in PHP, is fundamentally an invisible pointer that points to a particular record in an array.

Statistics

  • Total Hits - 16094

  • 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

Description

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. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements