|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80632 Improve Search-box for OPERATORs, KEYWORDs and MAGIC METHODs.
Submitted: 2021-01-15 19:39 UTC Modified: -
From: hen20-xmp at yahoo dot co dot jp Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

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

Search-box on PHP website ( 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:

Expected result:
(Show appropriate page)

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


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 29 03:03:33 2021 UTC