Open ghost opened 6 years ago
Same error here, comes when editing a function like the following:
function test($p2) {}
to
function test(&$p1, $p2) {}
When you type &$
in front of $p2
(&$$p2
) the completion crash.
Looks like the parser doesn't like the string &$$
in function parameters
Looks like the parser doesn't like the string &$$ in function parameters
not only the parser doesnt like this kind of syntax ;-)
I meant while typing, if you want to add a new variable passed by reference before an existing one, it will make the completion crash like seen above. I'll edit my previous comment to make it more understandable
Does this still happen?
It did for me. Nothing change.
I would need a PHP file that reproduces the problem
Here a gist to reproduce the problem: gist
Thanks!