angryprogrammer - 2009-03-01

Hi! :-)

There are some new keywords in recent PHP versions that aren't highlighted by default in Notepad++. I added them to the user-defined keyword list but I thought you might want to add them to the default list too, since they're now part of the language. Here they are:

E_STRICT
__METHOD__
clone
final
try
catch
throw
instanceof
__halt_compiler

The following are keywords in PHP 5.3.0 and above (beta not yet released):

goto
namespace
__NAMESPACE__
__DIR__

Also I was thinking, since __sleep and __wakeup (magic methods) are in Notepad++'s list then maybe __toString should be there too?

The keywords are listed here:
http://www.php.net/manual/en/reserved.keywords.php
and also in the list of parser tokens:
http://www.php.net/manual/en/tokens.php

Bye!