Re: about array.xml
| From: | Egon Schmid | Date: | Fri, 04 Jan 2002 11:04:17 +0000 |
| Subject: | Re: about array.xml | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969340717@lists.php.net to get a copy of this message | ||
From: "Gabor Hojtsy" <goba@php.net>
> > > | > 1) two aliases are documented:
> > > | > pos()
> > > | > sizeof()
> > >
> > > aliases should be removed or not?
> >
> > These are to remain. Aliases like these contain just the very
basics.
> > Aliases like mysql_numrows are not documented seperately as they
have such
> > similar names (mysql_num_rows).
>
> Aren't these aliases deprecated? I am not working at php-dev,
> so I can only guess that these are old, and may not be adviced.
I agree with Philip. pos() and sizeof() are in common use so both
functions should point to the real functions. If it is removed from
the manual, nobody can find an explanation about pos() and sizeof()
or the new function name. Another example: delete() is documented
but is NO PHP function. It is in the docu and delete() have a link
to unlink().
-Egon