Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for @, magic constants in PHP web search #974

Open
BeeDee123 opened this issue Apr 11, 2024 · 3 comments
Open

Add support for @, magic constants in PHP web search #974

BeeDee123 opened this issue Apr 11, 2024 · 3 comments
Labels

Comments

@BeeDee123
Copy link

The php.net website REALLY needs to be "fixed" (?) / enhanced
to make it easier (or even possible) to SEARCH for non-textual items
(non-alphanumeric), or textual items that contain non-alphanumeric characters.

For example, I just spent WAY too many minutes trying to find help
on the "At Sign" (@) prefix 'Error Control Operator'.

Or good luck finding help on "++", or "FILE",
or any of the other MANY items like them.

It's pretty ridiculous, really.

This has been a problem for DECADES. (afaik)

I would have thought it would have been corrected decades ago.

— Bill D.

@iansltx
Copy link
Contributor

iansltx commented Jun 22, 2024

I think I found a solution.
image

@tiffany-taylor tiffany-taylor changed the title Problems with the PHP.NET website Add support for @, magic constants PHP web search Jun 25, 2024
@tiffany-taylor tiffany-taylor changed the title Add support for @, magic constants PHP web search Add support for @, magic constants in PHP web search Jun 25, 2024
@cmb69
Copy link
Member

cmb69 commented Jul 19, 2024

I have closed https://bugs.php.net/67624 and https://bugs.php.net/72545 in favor of this ticket.

@lhsazevedo
Copy link
Contributor

lhsazevedo commented Oct 8, 2024

This issue has been partially fixed in php/phd#154. However, special characters (such as @) are still ignored by the current search implementation.

Various pages that were missing from the search index are now appearing in the results. For example, try searching for "magic constants" or "$argv." You may need to scroll to the "Other matches" result group.

The index is cached locally for two weeks, so try clearing your local storage if the results don't show up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants