php/web-php

Add support for @, magic constants in PHP web search

Opened this issue · 3 comments

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.

I think I found a solution.
image

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

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.