svn: /phpdoc/en/trunk/reference/array/functions/ count.xml
| From: | Jakub Vrana | Date: | Wed, 24 Mar 2010 20:54:21 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ count.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6263@lists.php.net to get a copy of this message | ||
vrana Wed, 24 Mar 2010 20:54:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296747
Log:
Link Countable
Changed paths:
U phpdoc/en/trunk/reference/array/functions/count.xml
Modified: phpdoc/en/trunk/reference/array/functions/count.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/count.xml 2010-03-24 20:50:30 UTC (rev 296746)
+++ phpdoc/en/trunk/reference/array/functions/count.xml 2010-03-24 20:54:21 UTC (rev 296747)
@@ -19,7 +19,7 @@
For objects, if you have
<link linkend="ref.spl">SPL</link> installed, you can hook into
<function>count</function> by implementing interface
- <literal>Countable</literal>. The interface has exactly one method,
+ <classname>Countable</classname>. The interface has exactly one method,
<function>count</function>, which returns the return value for the
<function>count</function> function.
</para>
@@ -65,7 +65,7 @@
</para>
<para>
If <parameter>var</parameter> is not an array or an object with
- implemented <literal>Countable</literal> interface,
+ implemented <classname>Countable</classname> interface,
<literal>1</literal> will be returned.
There is one exception, if <parameter>var</parameter> is &null;,
<literal>0</literal> will be returned.