"Then make sure this line is in effect by selecting php5.3-5.6 on project properties -> Parser properties page."
This is the reason, thanks dmitri.
dmitri wrote: |
check Tools -> Settings > SRV web server and Tools -> Settings -> PHP CLI for srv and cli run mode respectively.
You need to make sure that php5.3-5.6 line points to php-cgi.exe and php.exe of version 5.6 respectively.
Then make sure this line is in effect by selecting php5.3-5.6 on project properties -> Parser properties page. If project-specific parser properties are not enabled, you have to select them in global settings: on tools->settings->Code Insight -> Settings page (see target php version input)
Also you may want to make sure that you are running SRV or CLI because otherwise php version is not under PhpED's control. |