Reply to static call of non-static method? [again] sorry.

Your name:

Reply:


Posted by Mads Lee Jensen on 09/21/07 15:20

Sorry for posting this message again. Im new with the google groups
and something seems wrong
maybe it is because i changed my email after posting to a valid email
i noticed the other didnt exists eny more
and i couldnt see the replys ..

My question is
how come it possible to access a class method with double colon,
without declaring the method static?

my test

class Test_1
{
public function hello()
{
echo 'Hello';
}
}
Test_1::hello();

[Back to original 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

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