showTitle(); echo tagins("br").tagins("br"); echo "showing title after two exclaims added : " .tagins("br"); $exclaimDecorator->exclaimTitle(); $exclaimDecorator->exclaimTitle(); echo $decorator->showTitle(); echo tagins("br").tagins("br"); echo "showing title after star added : " .tagins("br"); $starDecorator->starTitle(); echo $decorator->showTitle(); echo tagins("br").tagins("br"); echo "showing title after reset: " .tagins("br"); echo $decorator->resetTitle(); echo $decorator->showTitle(); echo tagins("br").tagins("br"); echo tagins("br"); echo "END TESTING DECORATOR PATTERN"; echo tagins("br"); echo tagins("/body"); echo tagins("/html"); //doing this so code can be displayed without breaks function tagins($stuffing) { return "<".$stuffing.">"; } ?>