,</span>
<span class="p">]);</span>
</pre></div>

<h2 id="search-the-index">Search the Index<a class="headerlink" href="#search-the-index" title="Permanent link">&para;</a></h2>
<div class="codehilite"><pre><span></span><span class="nv">$result</span> <span class="o">=</span> <span class="nv">$bookIndex</span><span class="o">-&gt;</span><span class="na">search</span><span class="p">(</span><span class="s1">&#39;two cities&#39;</span><span class="p">);</span>

<span class="nv">$result</span><span class="o">-