php error_reporting -1 class ееб private str public function __constru

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<?php
error_reporting(-1);
class ееб {
private $str;
public function __construct($str) {
$this->str=$str;
}
public function get() {
return htmlspecialchars($this->str, ENT_QUOTES, 'UTF-8');
}
}
$ебб = new ееб('<h1>20 №ѓсыхщ</h1>');
echo $ебб->get();