Skip to content

Commit 54a4a8d

Browse files
committed
"global" is for global variables only
1 parent 1cd7705 commit 54a4a8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/rst_doc.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ <h2>More globals after classes<a class="headerlink" href="#more-globals-after-cl
418418
<p>A global variable</p>
419419
</dd>
420420
</dl>
421-
<dl class="php global">
421+
<dl class="php function">
422422
<dt class="sig sig-object php" id="strpos"><span class="sig-name descname"><span class="pre">strpos</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">$needle</span></em>, <em class="sig-param"><span class="pre">$haystack</span></em><span class="sig-paren">)</span><a class="headerlink" href="#strpos" title="Permalink to this definition">&#xB6;</a></dt>
423423
<dd>
424424
<p>Position of needle in haystack</p>

test/rst_doc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ More globals after classes
143143
144144
A global variable
145145
146-
.. php:global:: strpos($needle, $haystack)
146+
.. php:function:: strpos($needle, $haystack)
147147
148148
Position of needle in haystack
149149

0 commit comments

Comments
 (0)