Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
name = $name;
$this->age = $age;
$this->addresses = array();
$this->secret = "$name confidential info";
}
public function addAddress(Address $address) {
$this->addresses[] = $address;
}
public function addFriend(Person $friend) {
$this->friends[] = $friend;
}
public function bsonSerialize(): array {
return array(
"name" => $this->name,
"age" => $this->age,
"addresses" => $this->addresses,
"friends" => $this->friends,
);
}
public function bsonUnserialize(array $data): void {
$this->name = $data["name"];
$this->age = $data["age"];
$this->addresses = $data["addresses"];
$this->friends = $data["friends"];
}
}
class Address implements MongoDB\BSON\Persistable {
protected $zip;
protected $country;
public function __construct($zip, $country) {
$this->zip = $zip;
$this->country = $country;
}
public function bsonSerialize(): array {
return array(
"zip" => $this->zip,
"country" => $this->country,
);
}
public function bsonUnserialize(array $data): void {
$this->zip = $data["zip"];
$this->country = $data["country"];
}
}