|
|
Re: Variable undefined warning for array with short array syntax [message #1710643 is a reply to message #1710558] |
Thu, 08 October 2015 07:37 |
Jason Siebert Messages: 3 Registered: October 2015 |
Junior Member |
|
|
I was in the thought that the array was defined with that statement. Now I see it actually gets corrected by PHP to be the proper way. Thanks for your insight Dawid!
Edit: Actually without even changing the Semantic Analysis it's working without giving me a warning. I did have a bad build file which I corrected. I also couldn't find the preference "PHP|Validation|Semantic Analysis", all I have listed under "Validation" is "Task Tags"
Any thoughts?
[Updated on: Thu, 08 October 2015 07:45] Report message to a moderator
|
|
|
|
Re: Variable undefined warning for array with short array syntax [message #1710741 is a reply to message #1710689] |
Thu, 08 October 2015 19:29 |
Jason Siebert Messages: 3 Registered: October 2015 |
Junior Member |
|
|
That's what it was. I had uninstalled it and didn't realize that the extension plugin was the one that gives Eclipse that behaviour. Thanks for the help.
Btw, would you know if there is anything that provides content assist for object oriented php. When I tried to use mysqli->close it gave me the option of ($link), but that's only for procedural php. It should be nothing since the object oriented one takes no arguments.
[Updated on: Thu, 08 October 2015 19:34] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05104 seconds