php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #12839 Descrepancy in Manual (Appendix G)
Submitted: 2001-08-19 07:22 UTC Modified: 2002-05-21 13:18 UTC
From: php at snr-graphics dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6 OS: win32 (9x SE)
Private report: No CVE-ID: None
 [2001-08-19 07:22 UTC] php at snr-graphics dot com
This may just be my misunderstanding.. in either case, i'm sure that if I'm a little confused, others might be as well.

I've been working on assembling an expression file for HomeSite.. in so doing I wanted to create a set which highlights those functions which are "aliases"..

So, I'm working with Appendix G and noted the following:

The appendix essentailly states the "reverse" of the function documentation...

The manual indicates the chop() is an alias to rtrim(), while the appendix indicates the reverse, naming chop() the "master function".. and rtrim() the alias...???

Also, on a different note - 
msql_affected_rows is labeled as as alias of itself?

how can a function be an alias of itself?

Can someone please clarify Appendix G? 

from the manual on chop: 
This function is an alias of rtrim(). 

Whil Appendix G indicates that chop() is the master function?

This is repeated with most functions listed in G.

Thanks, in advance for the input.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-19 09:44 UTC] php at snr-graphics dot com
Follow up on previous -

Here's a quick list of what appears to be erratta in Appendix G:

function listed as aliases to themselves:
xpath_eval
xpath_eval_expression
xpath_init
xpath_new_context

As I'm still working my way through these, there may be more.. like the msql function prevously noted.
 [2002-05-21 13:18 UTC] tom@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 07:01:27 2024 UTC