Although NetBeans 7.0 is out, I'm still in fixing mode and I work mainly on fixes into NetBeans 7.0.1 release. I have noticed that there were a few complains that NetBeans doesn't support highlighting for alternative syntax in PHP. Last week I committed a patch that solve this.
Similarly as open and close brackets are matched, now also begin of a control structure ":" is matched with the end of the structure. For structures while, for, foreach and switch it's simple. It just match ":" with endwhile, endfor, endforeach or endswitch.
For if statement it's little different. There is always matched the true or false branch as is shown on the picture.
The highlighting matching is not good only for the better visual orientation through the code, but also you can quickly navigate between the matching bracket, parenthesis, the begin and end of alternative syntax etc. When there is matched a begin and end, then you can through the shortcut CTRL+[ jump at the matching end or begin. When there is added the key SHIFT (CTRL+SHIFT+[) to the mentioned shortcut , then the content between matching begin and end is selected.
Hope that this small improvement will helpful for someone.