Community
Participate
Working Groups
1. Use the code bellow to observe it 2. Make sure Mark Occurrences is enabled (toggle button on the toolbar or Window -> Preferences -> PHP ->Editor -> Mark Occurrences) 3. Go to Window -> Preferences -> General -> Editors -> Text Editors -> Annotations -> PHP elements 'write' occurrences 4. Unselect the 'Text as' check-box -> Apply -> OK 5. Click on $aaa (any) Expected: The write occurrence on the 1st line is not highlighted Actual: Still highlighted in orange Note 1: The same performed on 'read' occurrences takes the expected effect Note 2: Only when also 'read' occurrences 'Text as' is unselected, unselecting 'Text as' in 'write' occurrences will take effect.
Sample code <?php $aaa="Hello"; function foo() { global $aaa; echo $aaa; } foo(); ?>
fixed