<?php
class Scandinavia {
function get_countries() {
return array('Norway', 'Sweden', 'Denmark', 'Finland');
}
}
class Europe extends Scandinavia {
function get_countries($area) {
if ($area == "Scandinavia") {
return Scandinavia::get_countries();
}
}
}
?>
PHP 5:
Strict Standards: Declaration of Europe::get_countries() should be compatible with that of Scandinavia::get_countries() in - on line 14