Edit report at https://bugs.php.net/bug.php?id=76447&edit=1
ID: 76447
Comment by: naitsirch at e dot mail dot de
Reported by: teo8976 at gmail dot com
Summary: no autocomplete results for function names that do
exist
Status: Open
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The same goes for "locale_parse", which is documented together with
Locale::parseLocale()
https://www.php.net/manual/en/locale.parselocale.php
Previous Comments:
------------------------------------------------------------------------
[2018-06-12 19:30:37] [email protected]
Related To: Bug #49956
Related To: Bug #73752
The problem applies to all OOP+Procedural documentation pages where methods and
functions are documented on a single page. The tool that parses the
documentation source fails to produce results for the procedural form.
In the scope of this report, the tool that generates search-index.json, such as
the following copy for en/, requires an update:
http://php.net/manual/en/search-index.json
The previous fixes were hacks that don't address the central problem (I added
one such hack!) which is why this general issue remains.
------------------------------------------------------------------------
[2018-06-11 16:30:46] teo8976 at gmail dot com
Description:
------------
In the search box at the top-right of the screen at http://php.net, type
"mysqli_real" as if you were going to search for "mysql_real_escape_string"
Expected result:
----------------
The autocomplete should show a few clickable results:
- mysqli_real_escape_string
- mysqli_real_connect
- mysqli_real_query
All of these functions exist. They are aliases of MySQLi::real_escape_string()
etc, but they do exist in the functional form. Also, if you do type the name
blindly and correctly till the end, e.g. you type "mysqli_real_escape_string",
and you hit Enter, the search engine does find the result and directs you to
the relevant page: http://php.net/manual/en/mysqli.real-escape-string.php
Hence, the autocomplete should suggest those results.
Actual result:
--------------
It doesn't.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76447&edit=1
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php