Posted by Nate on 11/18/04 11:44
class TestClass
{
public function list(){
echo 'list';
}
}
`list` is a built in PHP method, so by declaring it in an object, it
violates the global namespace. php won't complain about this method
being in the class, until you try to instantiate it as an object. then
it will just fatally fail silently.
[Back to original message]
|