Req #67624 [NEW]: php.net search should find magic constants
| From: | sven at rtbg dot de | Date: | Tue, 15 Jul 2014 14:20:05 +0000 |
| Subject: | Req #67624 [NEW]: php.net search should find magic constants | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11374@lists.php.net to get a copy of this message | ||
From: sven at rtbg dot de
Operating system: irrelevant
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Feature/Change Request
Bug description:php.net search should find magic constants
Description:
------------
I type in "__CLASS__" in the search box.
Expectation: I get directly to the page describing magic constants, or
to a page linking to that page.
Current situation: I get a result page stating "__class__ doesn't exist.
Closest matches: ..." and a list of functions.
Neither does searching for "constant" or "magic constant" deliver any
reasonable results.
I type in "constants" in the search box.
Expectation: The autosuggest feature should contain an entry that points
to the constants page
http://de2.php.net/manual/en/language.constants.php
and/or the magic
constants page
http://de2.php.net/manual/en/language.constants.predefined.php
Current situation: The autosuggest feature only contains one entry for
"Constants for PDO_4D" pointing to
http://de2.php.net/manual/en/pdo-4d.constants.php
- however, simply
pressing return will do an actual search getting me to a result
connected to the string I typed, but which is in no way connected to the
autosuggest result I see, so the autosuggest is misleading.
--
Edit bug report at https://bugs.php.net/bug.php?id=67624&edit=1
--