cvs: phpdoc /en/appendices aliases.xml

From: Date: Tue, 21 Aug 2001 18:00:02 +0000
Subject: cvs: phpdoc /en/appendices aliases.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337239@lists.php.net to get a copy of this message
jeroen Tue Aug 21 14:00:02 2001 EDT Modified files: /phpdoc/en/appendices aliases.xml Log: Nuancated aliases-story a bit, and switched around some aliases. I realize it isn't optimal yet. Index: phpdoc/en/appendices/aliases.xml diff -u phpdoc/en/appendices/aliases.xml:1.5 phpdoc/en/appendices/aliases.xml:1.6 --- phpdoc/en/appendices/aliases.xml:1.5 Sun Aug 19 08:08:53 2001 +++ phpdoc/en/appendices/aliases.xml Tue Aug 21 14:00:01 2001 @@ -1,14 +1,19 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <appendix id="aliases"> <title>Aliases list</title> <para> - Here is the aliases list. All aliases are listed here. It is always + Here is the aliases list. All aliases are listed here. It is usually a bad idea to use aliases, are they may be bound to obsolescence or renaming, which will lead to unportable script. This list is provided to help those who want to upgrade their old scripts to newer syntax. </para> <para> + However, some functions simply have two names, and there is no real + preference. (For example, <function>is_int</function> and + <function>is_integer</function> are equally good) + </para> + <para> This list is consistent with PHP 4.0.6. </para> <para> @@ -24,8 +29,8 @@ </thead> <tbody> <row> - <entry>rtrim</entry> - <entry><function>chop</function></entry> + <entry>chop</entry> + <entry><function>rtrim</function></entry> <entry>Base syntax</entry> </row> <row> @@ -69,23 +74,23 @@ <entry>Base syntax</entry> </row> <row> - <entry>is_float</entry> - <entry><function>is_double</function></entry> + <entry>is_double</entry> + <entry><function>is_float</function></entry> <entry>Base syntax</entry> </row> <row> <entry>is_real</entry> - <entry><function>is_double</function></entry> + <entry><function>is_float</function></entry> <entry>Base syntax</entry> </row> <row> - <entry>is_int</entry> - <entry><function>is_long</function></entry> + <entry>is_long</entry> + <entry><function>is_int</function></entry> <entry>Base syntax</entry> </row> <row> <entry>is_integer</entry> - <entry><function>is_long</function></entry> + <entry><function>is_int</function></entry> <entry>Base syntax</entry> </row> <row> @@ -1518,3 +1523,21 @@ </table> </para> </appendix> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:"../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vi: et:ts=1:sw=1:textwidth=78:syntax=sgml +-->

« previous php.doc (#969337239) next »