true and false are undefined constants
Hey all,
I am new to phpStorm and I am having a strange error in one of the files in my project. It doesn't recognize any of the intellisense (or whatever phpStorm calls it). It even goes so far as saying:
Undefined constant true
Undefined constant false
Now, obviously true and false should not be considered undefined constants.
Anyone willing to hazard a guess or know the answer?
Thanks!
Derek
请先登录再写评论。
Well, without looking at the file - no ideas. File a new issue to tracker and attach a file in question visible to jetbrains team only.
$something = true;
Works fine here, no errors.
I was trying to share my setting with Dropbox and somehow the settings got corrupted. Once I restored to the old settings then I was fine.
Thanks so much for the help!