php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80632 Improve Search-box for OPERATORs, KEYWORDs and MAGIC METHODs.
Submitted: 2021-01-15 19:39 UTC Modified: 2024-07-19 18:50 UTC
From: hen20-xmp at yahoo dot co dot jp Assigned: cmb (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
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: hen20-xmp at yahoo dot co dot jp
New email:
PHP Version: OS:

 

 [2021-01-15 19:39 UTC] hen20-xmp at yahoo dot co dot jp
Description:
------------
Improve Search-box to show results for OPERATORs, KEYWORDs and MAGIC METHODs.

Search-box on PHP website (https://www.php.net/) doesn't work for OPERATORs, KEYWORDs and MAGIC METHODs.

eg. putting words below into the search-box doesn't work.
    ??           (OPERATOR)
    fn           (KEYWORDS)
    __construct  (MAGIC METHOD)

Above all, ORERATORs and MAGIC METHODs are under deep layers of PHP Manual.
So if users don't notice using Google search 
or it doesn't work like "??" operator, 
they cannot help but follow the links until they reach the right page in the deep layer of Manual.


Or another idea is to make a page of all PHP words with links often likely searched that includes all the functions, keywords, operators, magic methods, etc.

Test script:
---------------
??
fn
__construct

Expected result:
----------------
(Show appropriate page)

Actual result:
--------------
"... doesn't exist. Closest matches: "

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-10-11 16:31 UTC] cmb@php.net
-Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: Website problem
 [2024-07-19 18:50 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2024-07-19 18:50 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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC