You are here: Re: PHP5 Object and Class Errors « PHP Programming Language « IT news, forums, messages
Re: PHP5 Object and Class Errors

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация