<?php
namespace internet\s4studio;
class Internet {
//whole Web space
}
class s4studio extends Internet {
function __construct() {
$this->email = 'biuro@s4studio.pl';
$this->telefon = '+48 515 143 500';
}
function __toString() {
return 'kontakt: '.$this->telefon.' • '.$this->email;
}
}
echo (new s4studio());
?>
kontakt: +48 515 143 500 • biuro@s4studio.pl