Re: is Class::$name doable?
| From: | Teodor Cimpoesu | Date: | Mon, 17 Jul 2000 19:46:53 +0000 |
| Subject: | Re: is Class::$name doable? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6966@lists.php.net to get a copy of this message | ||
Hi Lars!
On Mon, 17 Jul 2000, Lars Wilhelmsen wrote:
> You're aware that class::function is C++ syntax?
yap, also PHP's.
>
> BTW: I don't think you can call class functions directly without creating
> an object from it first (if that answered your question).
try:
class Foo{function Bar(){echo "oh yeah";}};Foo::Bar();
-- teodor