You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users may come across operators (and other syntax symbols) in code they don't know, and/or don't know what the name for an operator is. This can make them very hard to find documentation for.
Suggested improvement
Add operators (and other non-word syntax) to the search feature.
For best results I think partial matches should work. eg:
? would match ternary, ?:, ?? and ??=
: would match ternary, ?: and (static) class access
[ would match arrays and list
'.' would match concatenation, splat and spread
(I may have missed other potential matches from these examples - this is just "off the top of my head")
[, $target] = explode('://', $uri, 2); I encountered this line in some code, searching online is tricky with this kind of thing, what is this syntax called?
Activity
AllenJB commentedon Oct 9, 2025
Similar to #974