I'm playing with PHPStorm for the first time, using the php.ini-development config file, that comes with the 5.x download.
When I try to run anything, it interprets an 'and' inside comments as code:
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It is
; generally recommended that <?php and ?> should be used and that this feature
; should be disabled, as enabling it may result in issues when generating XML
; documents, however this remains supported for backward compatibility reasons.
; Note that this directive does not control the <?= shorthand tag, which can be
; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off
short_open_tag = Off
, and returns an error
Parse error: syntax error, unexpected 'and' (T_LOGICAL_AND) in C:\Php_05\php.ini on line 193
PHP Parse error: syntax error, unexpected 'and' (T_LOGICAL_AND) in C:\Php_05\php.ini on line 193
Is there a better default copy of php.ini available, that PHPStorm will interpret correctly?