Re: about array.xml

From: Date: Fri, 04 Jan 2002 11:28:34 +0000
Subject: Re: about array.xml
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340718@lists.php.net to get a copy of this message
> > 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(). I know, we also have exit() and die(), is_int() and is_integer(), where any function can be used and there is no preference. But we also have mysql(), which is a deprecated alias of mysql_db_query(), so it is only listed in the aliases list. Well, mysql_db-query() itself is also deprecated, but it is a different story. As you said, pos() and sizeof() are the kind of exit() and die(), and as such, array.xml is the right place for them. Goba

« previous php.doc (#969340718) next »