note 11480 deleted from language.operators by jimw
| From: | jimw@php.net | Date: | Tue, 18 Dec 2001 20:50:53 +0000 |
| Subject: | note 11480 deleted from language.operators by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23213@lists.php.net to get a copy of this message | ||
assuming you have a class:
class b {
//methods and prop here
}
This will be the most common way to call the methods:
$obj = new b;
$obj->method();
Here is a more direct way
b::method();
Like someone mentioned I was also not aware that php supports the :: operator.
BasicA