- strtoupper: documentation ( source)
<?php
class Foo
{
public function getStuff()
{
return "stuff";
}
}
class Bar extends Foo
{
public function getStuff()
{
return strtoupper($this->getOtherStuff());
}
public function getOtherStuff()
{
return parent::getStuff();
}
}