<?php class A { static $b = 0; public function getB() { return $this->$b; } } $a = new A; $a::$b = 'foo'; var_dump($a->getB());
You have javascript disabled. You will not be able to edit any code.