#24672 [Asn->WFx]: "parse" is not similar to "parse_ini_file"
| From: | goba@php.net | Date: | Thu, 07 Aug 2003 18:16:37 +0000 |
| Subject: | #24672 [Asn->WFx]: "parse" is not similar to "parse_ini_file" | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-19960@lists.php.net to get a copy of this message | ||
ID: 24672
Updated by: goba@php.net
Reported By: goba@php.net
-Status: Assigned
+Status: Wont fix
Bug Type: Website problem
Operating System: irrelevant
PHP Version: 4.3.2
Assigned To: goba
New Comment:
The original problem is not solved, but the number of listed results is
extended.
The real issue here is that if we have very long function names, one
small part is not enough to make the long name similar, so "less
similar" functions come up to have better listings in this
algorithm...
As this is not a bug in the website code, we are not going to fix it...
Previous Comments:
------------------------------------------------------------------------
[2003-07-20 08:58:00] goba@php.net
BTW I am not the original submitter of this bug report, don't know how
I came to be in the database, I have just modified some data of the
report (summary, OS, category), while commenting on it.
------------------------------------------------------------------------
[2003-07-20 08:53:30] goba@php.net
I'll go into this more deeply. I have just made some test cases,
showing interesting results (that the bug is probably not in PHP, but
in the website code :). Therefore I am categorizing this stuff back to
a website problem, and assigning it to myself. Sorry for bothering.
------------------------------------------------------------------------
[2003-07-19 12:28:22] sniper@php.net
1. Where is the reproducing short script?
2. What PHP versions are affected? (CVS)
------------------------------------------------------------------------
[2003-07-17 04:03:56] goba@php.net
There are functions returned with double underscores, when searching
for "parse" or "parse " (without quotes). Namely yaz_ccl_parse and
mb_parse_str. The fact that the parse_ini_file function is not found is
probably a bug in the similar_text() function, which we use on the
website.
------------------------------------------------------------------------
[2003-07-16 02:51:29] goba@php.net
Description:
------------
When using the PHP.net document search function on de3.php.net to
search for parse_ini_file() and using the searchstring
"parse " (note the trailing space) this function will be found, but not
on de.php.net and de2.php.net.
Searching for "parse" only does not even return the parse_ini_file
function. There seems to be a problem with double underscores in
function names and the website search.
Reproduce code:
---------------
Try to search for "parse" on any of the de.php.net mirrors and see
yourself what is returned ;)
Expected result:
----------------
Expected to get a list of functions containing the word "parse", but
not all functions are returned, mainly none of the functions containing
double underscores.
Actual result:
--------------
As mentioned above, this is always reproduceable with either Mozilla
1.4 or IE 6.0.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24672&edit=1