⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class.arrayiterator.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>The ArrayIterator class</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.spl-object-hash.html">spl_object_hash</a></div> <div class="next" style="text-align: right; float: right;"><a href="arrayiterator.current.html">ArrayIterator::current</a></div> <div class="up"><a href="book.spl.html">SPL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1 class="title">The ArrayIterator class</h1>   <div class="partintro">   <div id="arrayiterator.intro" class="section">   <h2 class="title">Introduction</h2>   <p class="para">    This iterator allows to unset and modify values and keys while iterating    over Arrays and Objects.   </p>   <p class="para">    When you want to iterate over the same array multiple times you need to    instanciate ArrayObject and let it create ArrayIterator instances that    refer to it either by using foreach or by calling its getIterator()    method manually.    </p>  </div>   <div id="arrayiterator.synopsis" class="section">   <h2 class="title">Class synopsis</h2>    <div class="classsynopsis">    <div class="ooclass"><b class="classname">ArrayIterator</b></div>     <div class="classsynopsisinfo">     <span class="ooclass">      <b class="classname">ArrayIterator</b>     </span>     <span class="oointerface">implements       <span class="interfacename">Iterator</span>     </span>      <span class="oointerface">,       <span class="interfacename">Traversable</span>     </span>      <span class="oointerface">,       <span class="interfacename">ArrayAccess</span>     </span>      <span class="oointerface">,       <span class="interfacename">SeekableIterator</span>     </span>      <span class="oointerface">,       <span class="interfacename">Countable</span>     </span>      {</div>          <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>    <div class="methodsynopsis dc-description">   <span class="type">mixed</span> <span class="methodname"><b><a href="arrayiterator.current.html" class="function">ArrayIterator::current</a></b></span>    ( <span class="methodparam">void</span>   )</div><div class="methodsynopsis dc-description">   <span class="type">mixed</span> <span class="methodname"><b><a href="arrayiterator.key.html" class="function">ArrayIterator::key</a></b></span>    ( <span class="methodparam">void</span>   )</div><div class="methodsynopsis dc-description">   <span class="type">void</span> <span class="methodname"><b><a href="arrayiterator.next.html" class="function">ArrayIterator::next</a></b></span>    ( <span class="methodparam">void</span>   )</div><div class="methodsynopsis dc-description">   <span class="type">void</span> <span class="methodname"><b><a href="arrayiterator.rewind.html" class="function">ArrayIterator::rewind</a></b></span>    ( <span class="methodparam">void</span>   )</div><div class="methodsynopsis dc-description">   <span class="type">void</span> <span class="methodname"><b><a href="arrayiterator.seek.html" class="function">ArrayIterator::seek</a></b></span>    ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$position</tt></span>   )</div><div class="methodsynopsis dc-description">   <span class="type">bool</span> <span class="methodname"><b><a href="arrayiterator.valid.html" class="function">ArrayIterator::valid</a></b></span>    ( <span class="methodparam">void</span>   )</div>   }</div>   </div>   </div>   <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="arrayiterator.current.html">ArrayIterator::current</a> 鈥

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -