<?phprequire_once 'Listing.php';class ExtendedListing extends Listing{ function readWithEncode() { return htmlspecialchars($this->read(), ENT_QUOTES); }}