call a static method inside a class?

php

Solution

self::staticMethod();

More information about the Static keyword.

Problem

how do i call a static method from another method inside the same class? ``` $this->staticMethod(); ``` or ``` $this::staticMethod(); ```

Original source

Related problems