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: 2024-07-19 18:45 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: cmb (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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
 [2024-07-19 18:45 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2024-07-19 18:45 UTC] cmb@php.net
I'm closing this ticket in favor of the newer
<https://github.com/php/web-php/issues/974>.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Apr 02 07:01:31 2025 UTC