Use of curly braces in php to specify the zero-basedoffset of the desired character marked as an ERROR

Using the 3.0 EAP, the following is always flagged as an ERROR, even when turning off the 'Check Annotatations' General Intention

$file{0} // used to find the first character of the string $file

Marked as "Cannot use [] for reading]

Comment actions Permalink

Yea, I saw that to in adLDAP, but couldn't figure out why it was happening...


Please sign in to leave a comment.