Fix PHP exception.

The AMFPHP code doesn't use the "static" keyword despite frequently
calling methods in a static context.  This was OK until the newest
version of PHP.  Now they have to be fixed.