- added note that sizeof is an alias for count

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49834 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Beckham 2001-06-19 19:18:08 +00:00
parent 9642ddc3a0
commit eb9b7d9a1f

View file

@ -2801,18 +2801,18 @@ while (list (, $number) = each ($numbers)) {
<refentry id="function.sizeof">
<refnamediv>
<refname>sizeof</refname>
<refpurpose>Get the number of elements in an array</refpurpose>
<refpurpose>Get the number of elements in variable</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>sizeof</function></funcdef>
<paramdef>array <parameter>array</parameter></paramdef>
<paramdef>mixed <parameter>var</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
Returns the number of elements in the array.
The <function>sizeof</function> function is an alias for <function>count</function>.
</para>
<para>
See also <function>count</function>.