Bug 412297 - Treat pass-by-reference as variable definition
Summary: Treat pass-by-reference as variable definition
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (other bugs)
Version First Reported In: 5.4.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 22:24 UTC by Vitaliy
Modified: 2019-09-24 22:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaliy 2019-09-24 22:24:18 UTC
In PHP, when I pass a non-existent variable by reference, it comes into existence. That’s used for output-only parameters. E.g. after a call to `mysqli_stmt::bind_result`, each of its arguments becomes a variable. But KDevelop doesn’t notice that, highlighting the variable as undefined (like those were never assigned to).