php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #67624 php.net search should find magic constants
Submitted: 2014-07-15 14:20 UTC Modified: 2016-07-05 11:42 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: sven at rtbg dot de Assigned:
Status: Verified Package: Website problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sven at rtbg dot de
New email:
PHP Version: OS:

 

 [2014-07-15 14:20 UTC] sven at rtbg dot de
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-21 05:08 UTC] sobak@php.net
-Package: Documentation problem +Package: Website problem
 [2016-07-05 11:42 UTC] cmb@php.net
-Status: Open +Status: Verified
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 12:01:23 2020 UTC