It seems that the uaa() function can be used as a static function even though it is not specifically defined as such. I’m wondering if using the “static” keyword is ever necessary.
<?php
class foo
{
functon uaa()
{
// do something
}
}
I’m not sure. But if you do that it triggers an E_STRICT:
It is probably wise to be explicit about what is static and what isn’t, at least so you are less likely to do something like try to access
$thisnot in object context.