joomla/joomla-platform — pull request #1238 by realityking (2012-06-02 11:11:21+00:00)
Title: Use the PHP 5.3 const syntax where possible.

This is mainly for consistency with class constants. Note that this only works for constants that are not conditional and that they take only a simple value and not the result of an expression. Since they are compile time instead of runtime based they get cached a bit more efficient with an opcode cache (negligible improvement thou)