xxxxxxxxxx
<?php
class MyClass
{
public static function myStaticMethod()
{
echo 'This is static method';
}
public function myNONStaticMethod()
{
echo 'This is NON-static method';
}
}
// call of static method
MyClass::myStaticMethod();
// call of NON static method
$object = new MyClass();
$object->myNONStaticMethod();