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

PHP Call By Reference #637

Open
bdrodes opened this issue Jan 21, 2021 · 1 comment
Open

PHP Call By Reference #637

bdrodes opened this issue Jan 21, 2021 · 1 comment

Comments

@bdrodes
Copy link

bdrodes commented Jan 21, 2021

Does semantic properly parse call by reference for php?

E.g.,

function foo(&$a)
{
    $a++;
}

I was experimenting with this function using the latest semanatic docker, and I saw no difference in function signature produced by semantic between the above call by reference definition and one without (without the &).

@cfroystad
Copy link

This was a missing feature in tree-sitter-php, but was implemented in the parser in September

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

No branches or pull requests

2 participants