<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%2Farrays%2Fpointer</id>
	<title>PHP/arrays/pointer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%2Farrays%2Fpointer"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/arrays/pointer&amp;action=history"/>
	<updated>2026-07-26T04:10:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=PHP/arrays/pointer&amp;diff=25511&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;Arrays have an internal pointer for serial access. Most functions don&#039;t use it, but there are a number which do, or which are related to the order of elements.  There are also...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/arrays/pointer&amp;diff=25511&amp;oldid=prev"/>
		<updated>2019-11-28T21:07:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Arrays have an internal pointer for serial access. Most functions don&amp;#039;t use it, but there are a number which do, or which are related to the order of elements.  There are also...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Arrays have an internal pointer for serial access. Most functions don&amp;#039;t use it, but there are a number which do, or which are related to the order of elements.&lt;br /&gt;
&lt;br /&gt;
There are also functions which remove, add, or rotate elements; those should probably be documented here as well.&lt;br /&gt;
==pointer==&lt;br /&gt;
* [https://www.php.net/manual/en/function.current.php current()]: return the current element&lt;br /&gt;
* [https://www.php.net/manual/en/function.end.php end()]: point the internal pointer at the last element&lt;br /&gt;
* [https://www.php.net/manual/en/function.key.php key()]: return the index element of the current array position&lt;br /&gt;
* [https://www.php.net/manual/en/function.next.php next()]: advance the internal pointer by one element&lt;br /&gt;
* [https://www.php.net/manual/en/function.prev.php prev()]: move the internal pointer back by one element&lt;br /&gt;
* [https://www.php.net/manual/en/function.reset.php reset()]: point the internal pointer at the first element&lt;br /&gt;
==order only==&lt;br /&gt;
* [https://www.php.net/manual/en/function.array-key-first.php array_key_first()]: gets the first key of an array&lt;br /&gt;
* [https://www.php.net/manual/en/function.array-key-last.php array_key_last()]: gets the last key of an array&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>