RE: classes and objects: php5. The Basics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
http://uk.php.net/manual/en/language.oop5.basic.php

The top example has the code:

A::foo();

even though foo is not declared static in its class.  How does it get
called statically without being declared static?
[/snip]

foo() is a  function and would not be static, it can be public (default
without explicit declaration in PHP5), protected and private.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux