php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39942 function search doesn't return expected result
Submitted: 2006-12-24 18:12 UTC Modified: 2007-06-02 20:21 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: moxley at moxleydata dot com Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2006-12-24 18:12 UTC] moxley at moxleydata dot com
Description:
------------
(I see that there are two similar bugs reported, but one has been labeled "bogus" and the other "won't fix". I hope that this one will be taken seriously, and if not, I'd like to know why)

The "function list" search function at www.php.net (in the web site's header) gives me results that don't contain the expected, obvious result that I'm looking for. Here's one example. Let me know if you need more.

I'm searching for a function in the PHP documentation. It parses an INI file.

Now, let's see what happens when I do a function list search for the phrase 'ini':

Instead of a function list, I get the page "Appendix G. php.ini directives", which doesn't have anything to do with functions or a function search.

Next, I search for phrase 'parse':

I get a list of functions, none of which are the correct function which is 'parse_ini_file()'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-20 04:22 UTC] btherl at yahoo dot com dot au
If you search the online documentation for either "ini" or "parse" then you will find the function you are looking for.

My understanding of function name search is that it is for when you know the name of the function already.  I don't see this as a problem.
 [2007-06-02 20:21 UTC] bjori@php.net
php.net/ini has been an alias to php.net/configuration for 5years now and will probably never change.

PHP has over 30 functions with the word "parse" in it, the function search tries to search for a function that is similar_text() and prints those who score over 70%.
Improving your search by simply adding "_" will pop your parse_ini_file() up.

btherl is right. If you are simply looking for how to parse ini file, use the "online documentation" search, not "function search".
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 23:00:01 2026 UTC