I have problem to access the private and public variable within the static function. I know to access the static variable to access the static function.
Sample Example:
class Student{ public $name = "Rajkumar"; private $mark = 10; static $result = "Pass"; static function Display(){ echo(self::$result); //here how to access $name and $mark } } Is this possible or not.