PHP - Classes and Objects
Identify the error in this PHP code snippet:
class Sample {
public static $value = 10;
public function show() {
echo self->$value;
}
}
$object = new Sample();
$object->show();