{"id":165107,"date":"2013-01-08T17:24:03","date_gmt":"2013-01-08T13:24:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=165107"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=165107","title":{"rendered":"<span class=\"post_title\">\u0418\u043d\u0434\u0435\u043a\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a Multibyte-\u0441\u0442\u0440\u043e\u043a\u0430\u043c \u043d\u0430 PHP \u0438\u043b\u0438 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u041e\u041e\u041f \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f: \u0432\u043e\u0442, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0444\u0438\u0440\u043c\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u0442\u0440\u0443\u0434\u0438\u043b\u0441\u044f Delphi \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c, \u0438\u0437\u0434\u0430\u043b\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u0437\u0434\u043e\u0445 \u0438 \u0440\u0430\u0437\u0432\u0430\u043b\u0438\u043b\u0430\u0441\u044c. \u042e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0435\u0442, \u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0441\u0435\u0431\u0435 \u043d\u043e\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u044f. \u041d\u0435 \u0431\u0443\u0434\u0443 \u0434\u0438\u0441\u043a\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0447\u0435\u0442 \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043e\u0441\u0442\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 desktop \u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u0434\u0430 \u0438 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 Delphi, \u043d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u0436\u0438\u0432\u0448\u0435\u0439\u0441\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0435\u0439 \u0434\u043b\u044f \u0441\u043c\u0435\u043d\u044b \u0440\u043e\u0434\u0430 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0442\u0440\u0443\u0434\u043e\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0432 \u043c\u043e\u0435\u043c \u0440\u0435\u0433\u0438\u043e\u043d\u0435 (\u043c\u0435\u043b\u043a\u0438\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u043d\u043e\u0439 \u0446\u0435\u043d\u0442\u0440) \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u0442\u0430\u0442\u044c Web \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u043d\u0430 PHP. \u0418 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u043e\u0438 \u041d\u0413 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0448\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430 \u043a\u043d\u0438\u0433\u043e\u0439, \u043d\u0435\u0436\u0435\u043b\u0438 \u0437\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u043c \u0441\u0442\u043e\u043b\u043e\u043c.<\/p>\n<p>  \u041f\u043e\u0447\u0442\u0438 \u0441\u0440\u0430\u0437\u0443 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0435\u0439 \u043c\u0435\u043d\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043c\u0443\u0442\u0438\u0432\u0448\u0435\u0439: \u043a\u0430\u043a \u044f\u0437\u044b\u043a, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0430\u0439\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0432 \u043e\u043d\u043e\u043c \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u043e\u0441\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e UTF-8, \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u0432\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0439 \u0435\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u2013 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 mb_strings \u044f \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u043b\u0441\u044f, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u043e \u0441\u0432\u043e\u0439 \u043e\u0441\u0430\u0434\u043e\u043a. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e: \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0438\u043c\u0432\u043e\u043b\u0443 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0440\u044f\u0434\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u0438\u0445 \u043c\u0443\u043b\u044c\u0442\u0438\u0431\u0430\u0439\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0430\u0445. \u041d\u043e \u0437\u0430\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u044b\u043b\u043e \u043d\u0435\u043b\u044c\u0437\u044f, \u044f \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u0448\u0442\u0443\u0434\u0438\u0440\u043e\u0432\u0430\u043b \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0438 \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u043e\u0431\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u043a Google, \u043d\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043d\u0430\u0442\u044b\u043a\u0430\u043b\u0441\u044f \u043d\u0430 \u0442\u043e\u043f\u0438\u043a\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043e \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u0443\u043b\u044c\u0442\u0438\u0431\u0430\u0439\u0442 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 PHP6. \u0427\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043e\u043d\u0438 \u043c\u043d\u0435 \u0434\u0430\u0436\u0435 \u043f\u043e\u0434\u043d\u0430\u0434\u043e\u0435\u043b\u0438. \u0415\u0441\u043b\u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u0432\u0438\u0434\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0432 mb_strings \u043d\u0435\u0442, \u043d\u043e \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u043e.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0418 \u0432\u043e\u0442, \u0434\u043e\u0439\u0434\u044f \u0434\u043e \u0442\u0435\u043c\u044b \u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u044f \u0443\u0432\u0438\u0434\u0435\u043b \u0442\u043e, \u0447\u0435\u0433\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e \u043c\u043d\u0435 \u043a\u0430\u043a \u043d\u043e\u0432\u0438\u0447\u043a\u0443:<\/h4>\n<p>  <\/p>\n<h5>1. \u041e\u041e\u041f \u043f\u043e\u0434\u0445\u043e\u0434 \u0434\u043b\u044f \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u044f\u0446\u0438\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 \u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u0445 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0442\u0440\u043e\u043a\u0438<\/h5>\n<p>  <\/p>\n<pre><code class=\"php\">class MBString {     private $string;     private $encoding;      public function __construct($string, $encoding = 'UTF-8') {         $this-&gt;string = $string;         $this-&gt;encoding = $encoding;     }      public function __toString() {         return (string)$this-&gt;string;     }      \/**      * \u0414\u043b\u0438\u043d\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u0445      * @return int      *\/     function Length() {         return mb_strlen($this-&gt;string, $this-&gt;encoding);     }      \/**      * \u0420\u0430\u0437\u043c\u0435\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0431\u0430\u0439\u0442\u0430\u0445      * @return int      *\/     function Size() {         return strlen($this-&gt;string);     }      \/**      * \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u0441\u0442\u0440\u043e\u043a\u0438      * @return string      *\/     function getEncoding() {         return $this-&gt;encoding;     }      \/**      * \u0418\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u0441\u0442\u0440\u043e\u043a\u0438      * @param $encoding      *\/     function setEncoding($encoding) {         $this-&gt;string = mb_convert_encoding($this-&gt;string, $encoding, $this-&gt;encoding);         $this-&gt;encoding = $encoding;     }      \/**      * \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438      * @return array      *\/     static function SupportEncodings() {         return mb_list_encodings();     }      \/**      * \u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0443      * @param int $i      * @return string      *\/     function GetChar($i) {         return mb_substr($this-&gt;string, $i, 1, $this-&gt;encoding);     }      \/**      * \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0443      * @param int $i      * @param string $char      *\/     function SetChar($i, $char) {         $this-&gt;string = mb_substr($this-&gt;string, 0, $i, $this-&gt;encoding)             .mb_substr($char, 0, 1, $this-&gt;encoding) \/\/\u0417\u0430\u0449\u0438\u0442\u0430 \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0434\u0443\u0442 \u0441\u0442\u0440\u043e\u043a\u0443             .mb_substr($this-&gt;string, $i+1, $this-&gt;Length()-($i+1), $this-&gt;encoding);     }      \/**      * \u0423\u0434\u0430\u043b\u044f\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u043c      * @param int $i      *\/     function UnSetChar($i){         $this-&gt;string = mb_substr($this-&gt;string, 0, $i, $this-&gt;encoding).mb_substr($this-&gt;string, $i+1, $this-&gt;Length()-($i+1), $this-&gt;encoding);     }      function UCFirst() {         $this-&gt;SetChar(0, mb_strtoupper($this-&gt;GetChar(0), $this-&gt;encoding));         return $this-&gt;string;     }      function UCWords() {         return $this-&gt;string = mb_convert_case($this-&gt;string, MB_CASE_TITLE, $this-&gt;encoding);     } } <\/code><\/pre>\n<p>  \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 \u043d\u0435\u0442, \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 mb_strings \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0438\u043c\u0432\u043e\u043b\u0443 \u0441\u0442\u0440\u043e\u043a\u0438, \u0438 \u0434\u0430\u043b\u0435\u0435 \u0443\u0436\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0430\u0440\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u0432 mb_strings: <b>UCFirst<\/b> \u0438 <b>UCWords<\/b>. \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043a\u043b\u0430\u0441\u0441 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0441\u0435\u043c \u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u043b\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u0430\u043c. \u0412 \u043a\u043b\u0430\u0441\u0441\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 <b>__toString()<\/b> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u043a\u0441\u0442\u0430\u0442\u0438 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430.<\/p>\n<p>  \u041f\u0430\u0440\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439:   <\/p>\n<ul>\n<li>\u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0447\u0435\u0442\u043a\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u044b \u0433\u0434\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 (\u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u0445) \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u0441\u044f, \u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 Length \u043a\u0435\u0448\u0438\u0440\u0443\u0435\u043c\u044b\u043c, \u0442.\u0435. \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0432 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438 \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0435\u0435 (mb_strlen($this-&gt;string, $this-&gt;encoding)) \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 null, \u043e\u0431-null\u2019\u044f\u0442\u044c \u0436\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0432\u043e \u0432\u0441\u0435\u0445 \u043c\u0435\u0442\u043e\u0434\u0430\u0445 \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438. \u041f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0447\u0442\u043e \u0432\u044b\u0437\u043e\u0432\u044b Length \u0447\u0430\u0441\u0442\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f, \u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f mb_strlen \u043d\u0435 \u0441\u0430\u043c\u0430\u044f \u0431\u044b\u0441\u0442\u0440\u0430\u044f.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043b\u0430\u0441\u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044e Add(MBString $string) \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0438\u0445 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043e\u043a (\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u043c\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043a \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 \u043a\u043b\u0430\u0441\u0441\u0430)<\/li>\n<\/ul>\n<h5>2. \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 Iterator (IteratorAggregate) \u0434\u043b\u044f foreach<\/h5>\n<p>  <\/p>\n<pre><code class=\"php\">    protected $iterator_index = 0;      public function rewind() {         $this-&gt;iterator_index = 0;     }      public function current()     {         return $this-&gt;GetChar($this-&gt;iterator_index);     }      public function key() {         return $this-&gt;iterator_index;     }      public function next() {         ++$this-&gt;iterator_index;     }      public function valid() {         return ($this-&gt;iterator_index &lt; $this-&gt;Length());     } <\/code><\/pre>\n<p>  \u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 Iterator \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u044f\u0434\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0443 \u0432\u0441\u0435\u043c\u0438 \u0442\u0430\u043a \u043f\u043e\u043b\u044e\u0431\u0438\u0432\u0448\u0438\u043c\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c foreach.<\/p>\n<p>  \u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f:  <\/p>\n<ul>\n<li>\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u0430 \u043a \u0432\u0438\u0434\u0443 <b>class MBString implements Iterator<\/b><\/li>\n<li>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0430\u043a \u0436\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 IteratorAggregate \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0435\u0433\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u00ab\u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044c\u00bb \u0447\u0430\u0441\u0442\u044c \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u043a\u043b\u0430\u0441\u0441\u0430, \u0430 \u0432 \u0441\u0430\u043c\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <b>getIterator<\/b> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0443\u044e \u043a\u043b\u0430\u0441\u0441 \u043f\u043e\u0441\u0440\u0435\u0434\u043d\u0438\u043a. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0435\u0433\u043e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430 \u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0438\u0447\u0435\u043c (\u043a\u0440\u043e\u043c\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043a\u043b\u0430\u0441\u0441) \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432.<\/li>\n<\/ul>\n<h5>3. \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 ArrayAccess \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430<\/h5>\n<p>  <\/p>\n<pre><code class=\"php\">    function offsetExists($offset) {         return ($offset &lt; $this-&gt;Length());     }      public function offsetGet($offset) {         return $this-&gt;GetChar($offset);     }      public function offsetSet($offset, $value) {        $this-&gt;SetChar($offset, $value);     }      public function offsetUnset($offset) {         $this-&gt;UnSetChar($offset);     } <\/code><\/pre>\n<p>  \u0412\u0441\u0435\u0433\u043e \u043f\u0430\u0440\u0430 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430, \u043d\u043e \u041e\u041e\u041f \u0438 PHP \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0438\u043c\u0432\u043e\u043b\u0443 \u0441\u0442\u0440\u043e\u043a\u0438 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043f\u0440\u0438\u0447\u0435\u043c \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438!<\/p>\n<p>  \u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f:  <\/p>\n<ul>\n<li>\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u0430 \u043a \u0432\u0438\u0434\u0443 <b>class MBString implements Iterator, ArrayAccess<\/b><\/li>\n<li>\u041f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0432\u0441\u0435 \u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 (\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u043a\u043b\u0430\u0441\u0441\u0435)<\/li>\n<\/ul>\n<h5>4. \u043d\u0443 \u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 Countable \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u043d\u043e\u0439 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432<\/h5>\n<p>  <\/p>\n<pre><code class=\"php\">    public function count() {         return $this-&gt;Length();     } <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e count \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a \u043a\u043b\u0430\u0441\u0441\u0443 \u0438 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u0441\u0442\u0440\u043e\u043a\u0438 \u0446\u0438\u043a\u043b\u043e\u043c for \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u043e\u0434\u043d\u0438 \u043e\u0431\u0445\u043e\u0434\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/p>\n<p>  \u041f\u043e\u043e\u0432\u0442\u0440\u044e\u0441\u044c: \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u0430 \u043a \u0432\u0438\u0434\u0443 <b>class MBString implements Iterator, ArrayAccess, Countable<\/b><\/p>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  <\/p>\n<pre><code class=\"php\">require_once('MBString.php'); $mbStr = new MBString('\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u043c\u0438\u0440');  echo '\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e __toString(): ',&quot;$mbStr&lt;br\/&gt;&quot;; echo 'Length: ',$mbStr-&gt;Length(), ' Size: ', $mbStr-&gt;Size(), '&lt;br\/&gt;'; echo '$mbStr[0]: ', $mbStr[0], '&lt;br\/&gt;'; $mbStr-&gt;SetChar(0, 'z'); echo $mbStr, '&lt;br\/&gt;'; echo 'UCFirst: ', $mbStr-&gt;UCFirst(), '&lt;br\/&gt;'; echo 'UCWords: ', $mbStr-&gt;UCWords(), '&lt;br\/&gt;'; foreach($mbStr as $k=&gt;$v){     echo $v, '-'; } echo '&lt;br&gt;'; for ($i=0; $i&lt; $mbStr-&gt;Length(); $i++){     echo $mbStr[$i], '+'; } <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"dos\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e __toString(): \u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u043c\u0438\u0440 Length: 14 Size: 27 $mbStr[0]: \u0417 z\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u043c\u0438\u0440 UCFirst: Z\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u043c\u0438\u0440 UCWords: Z\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u041c\u0438\u0440 Z-\u0434-\u0440-\u0430-\u0432-\u0441-\u0442-\u0432-\u0443-\u0439- -\u041c-\u0438-\u0440- Z+\u0434+\u0440+\u0430+\u0432+\u0441+\u0442+\u0432+\u0443+\u0439+ +\u041c+\u0438+\u0440+ <\/code><\/pre>\n<p>  P.S. \u0417\u0430\u0432\u0442\u0440\u0430\u2026 \u0412\u0435\u0440\u043d\u0435\u0435 \u0443\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043e\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e PHP, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u0441\u044e \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u0443\u0447\u0442\u0443 \u043f\u043e\u0437\u0436\u0435. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/165107\/\"> http:\/\/habrahabr.ru\/post\/165107\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f: \u0432\u043e\u0442, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0444\u0438\u0440\u043c\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u0442\u0440\u0443\u0434\u0438\u043b\u0441\u044f Delphi \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c, \u0438\u0437\u0434\u0430\u043b\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u0437\u0434\u043e\u0445 \u0438 \u0440\u0430\u0437\u0432\u0430\u043b\u0438\u043b\u0430\u0441\u044c. \u042e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0435\u0442, \u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0441\u0435\u0431\u0435 \u043d\u043e\u0432\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u044b, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u044f. \u041d\u0435 \u0431\u0443\u0434\u0443 \u0434\u0438\u0441\u043a\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0447\u0435\u0442 \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043e\u0441\u0442\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 desktop \u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u0434\u0430 \u0438 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 Delphi, \u043d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u0436\u0438\u0432\u0448\u0435\u0439\u0441\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0435\u0439 \u0434\u043b\u044f \u0441\u043c\u0435\u043d\u044b \u0440\u043e\u0434\u0430 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0442\u0440\u0443\u0434\u043e\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0432 \u043c\u043e\u0435\u043c \u0440\u0435\u0433\u0438\u043e\u043d\u0435 (\u043c\u0435\u043b\u043a\u0438\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u043d\u043e\u0439 \u0446\u0435\u043d\u0442\u0440) \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u0442\u0430\u0442\u044c Web \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u043d\u0430 PHP. \u0418 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u043e\u0438 \u041d\u0413 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0448\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430 \u043a\u043d\u0438\u0433\u043e\u0439, \u043d\u0435\u0436\u0435\u043b\u0438 \u0437\u0430 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u043c \u0441\u0442\u043e\u043b\u043e\u043c.<\/p>\n<p>  \u041f\u043e\u0447\u0442\u0438 \u0441\u0440\u0430\u0437\u0443 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0435\u0439 \u043c\u0435\u043d\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043c\u0443\u0442\u0438\u0432\u0448\u0435\u0439: \u043a\u0430\u043a \u044f\u0437\u044b\u043a, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u0440\u0443\u0442\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0430\u0439\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0432 \u043e\u043d\u043e\u043c \u0443\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u043e\u0441\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e UTF-8, \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u0432\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0439 \u0435\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0432 \u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u2013 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 mb_strings \u044f \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u043b\u0441\u044f, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u043e \u0441\u0432\u043e\u0439 \u043e\u0441\u0430\u0434\u043e\u043a. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e: \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0438\u043c\u0432\u043e\u043b\u0443 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0440\u044f\u0434\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u0438\u0445 \u043c\u0443\u043b\u044c\u0442\u0438\u0431\u0430\u0439\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0430\u0445. \u041d\u043e \u0437\u0430\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u044b\u043b\u043e \u043d\u0435\u043b\u044c\u0437\u044f, \u044f \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u0448\u0442\u0443\u0434\u0438\u0440\u043e\u0432\u0430\u043b \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0438 \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u043e\u0431\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u043a Google, \u043d\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043d\u0430\u0442\u044b\u043a\u0430\u043b\u0441\u044f \u043d\u0430 \u0442\u043e\u043f\u0438\u043a\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043e \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u0443\u043b\u044c\u0442\u0438\u0431\u0430\u0439\u0442 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 PHP6. \u0427\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043e\u043d\u0438 \u043c\u043d\u0435 \u0434\u0430\u0436\u0435 \u043f\u043e\u0434\u043d\u0430\u0434\u043e\u0435\u043b\u0438. \u0415\u0441\u043b\u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u0432\u0438\u0434\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0432 mb_strings \u043d\u0435\u0442, \u043d\u043e \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u044b\u043b\u043e.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-165107","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/165107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=165107"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/165107\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=165107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=165107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=165107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}