Bug #76447 [Opn->Dup]: no autocomplete results for function names that do exist

From: Date: Wed, 03 Mar 2021 11:47:12 +0000
Subject: Bug #76447 [Opn->Dup]: no autocomplete results for function names that do exist
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-29110@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76447&edit=1 ID: 76447 Updated by: cmb@php.net Reported by: teo8976 at gmail dot com Summary: no autocomplete results for function names that do exist -Status: Open +Status: Duplicate Type: Bug Package: Website problem PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Duplicate of bug #49956. Previous Comments: ------------------------------------------------------------------------ [2019-05-08 06:50:00] naitsirch at e dot mail dot de The same goes for "locale_parse", which is documented together with Locale::parseLocale() https://www.php.net/manual/en/locale.parselocale.php ------------------------------------------------------------------------ [2018-06-12 19:30:37] philip@php.net 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

« previous php.webmaster (#29110) next »