<?php
class T
{
public static function __callStatic($method, $args)
{
echo "__callStatic() called\n";
}
public function f()
{
echo "f() called\n";
}
}
T::f();
Fatal error: Uncaught Error: Non-static method T::f() cannot be called statically in /in/rsR71:15
Stack trace:
#0 {main}
thrown in /in/rsR71 on line 15
Process exited with code 255.