Archived
What will it be displayed?
<?php
class Foo
{
public function getFullName()
{
return $this->getName() . ' surname';
}
final private function getName()
{
return 'name';
}
}
$foo = new Foo();
echo $foo->getFullName();
1
Community EvaluationsNo one has reviewed this question yet, be the first!