Dear Geany devs,
I've updated Geany to the latest svn (r4424) and noticed that php constants didn't show up in the symbol list.
I then baldly opened 'php.c' and started hacking in the regexes to get them working again. In 'actionscript.c' the constants were part of "m,macro,macros" so I decided to change that in php.c too. Constants were showing again! ;)
I also remove a duplicate regex and also added one in my patch to show constants in a "const NAME = 'value';" notation so all constants are correctly parsed from this example:
<?php abstract class test { const TEST = 'test'; } define('TEST2', 'test'); ?>
Cheers!
Harold