Skip to content

Conversation

peng-hui
Copy link
Contributor

PHP APIs are case-insensitive, like echo is the same as eCHo. Add (?i) in the queries to realize this.

@DavidBakerEffendi
Copy link
Contributor

I think the solution for this should be in the frontend itself. e.g., the name property of method and call nodes should be lowercased. Will incorporate that in upcoming PRs for PHP

@peng-hui
Copy link
Contributor Author

That's a more robust plan to solve this issue.

@peng-hui peng-hui changed the title [PHP] Make API names in queries case insensitive [PHP Case Sensitivity] PHP is case-insensitive for function names, class names, and keywords, but case-sensitive for variable names. May 5, 2025
@peng-hui peng-hui changed the title [PHP Case Sensitivity] PHP is case-insensitive for function names, class names, and keywords, but case-sensitive for variable names. [PHP Case Sensitivity] PHP is case-insensitive for namespaces, function names, class names, and keywords, but case-sensitive for variable names. May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants