|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #67624 search should find magic constants
Submitted: 2014-07-15 14:20 UTC Modified: 2016-07-05 11:42 UTC
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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
35 - 35 = ?
Subscribe to this entry?

 [2014-07-15 14:20 UTC] sven at rtbg dot de
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 and/or the magic constants page

Current situation: The autosuggest feature only contains one entry for "Constants for PDO_4D" pointing to - 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-21 05:08 UTC]
-Package: Documentation problem +Package: Website problem
 [2016-07-05 11:42 UTC]
-Status: Open +Status: Verified
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 07:03:33 2021 UTC