{"id":49715,"date":"2018-09-17T15:04:49","date_gmt":"2018-09-17T09:04:49","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=49715"},"modified":"2018-09-17T15:04:49","modified_gmt":"2018-09-17T09:04:49","slug":"%d1%81%d0%be%d1%80%d1%82%d0%b8%d1%80%d0%be%d0%b2%d0%ba%d0%b0-%d0%bc%d0%b0%d1%81%d1%81%d0%b8%d0%b2%d0%b0-%d1%81-%d1%81%d0%be%d1%85%d1%80%d0%b0%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5%d0%bc-%d0%ba%d0%bb%d1%8e","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=49715","title":{"rendered":"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0435\u0439"},"content":{"rendered":"<p>\u0414\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0asort() \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432 \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0438\u00a0arsort() \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n<pre class=\"php\" style=\"font-family: monospace; font-size: 12px;\"><span style=\"color: #000088;\">$a<\/span> <span style=\"color: #339933;\">=<\/span> <a href=\"http:\/\/www.php.net\/array\"><span style=\"color: #990000;\">array<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0442\u0435\u0430\u0442\u0440\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">3<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u043a\u0438\u043d\u043e\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">8<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u043c\u0443\u0437\u044b\u043a\u0430\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">12<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0446\u0438\u0440\u043a\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">14<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0448\u043a\u043e\u043b\u0430\"<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<a href=\"http:\/\/www.php.net\/asort\"><span style=\"color: #990000;\">asort<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">foreach<\/span> <span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span> <span style=\"color: #b1b100;\">as<\/span> <span style=\"color: #000088;\">$key<\/span> <span style=\"color: #339933;\">=&gt;<\/span> <span style=\"color: #000088;\">$val<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #009900;\">{<\/span>\r\n    <span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #000088;\">$key<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #0000ff;\">\" = \"<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$val<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #0000ff;\">\"&lt;br&gt;\"<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span><\/pre>\n<pre>3 = \u043a\u0438\u043d\u043e\r\n8 = \u043c\u0443\u0437\u044b\u043a\u0430\r\n2 = \u0442\u0435\u0430\u0442\u0440\r\n12 = \u0446\u0438\u0440\u043a\r\n14 = \u0448\u043a\u043e\u043b\u0430<\/pre>\n<pre class=\"php\" style=\"font-family: monospace; font-size: 12px;\"><span style=\"color: #000088;\">$a<\/span> <span style=\"color: #339933;\">=<\/span> <a href=\"http:\/\/www.php.net\/array\"><span style=\"color: #990000;\">array<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0442\u0435\u0430\u0442\u0440\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">3<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u043a\u0438\u043d\u043e\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">8<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u043c\u0443\u0437\u044b\u043a\u0430\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">12<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0446\u0438\u0440\u043a\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">14<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0448\u043a\u043e\u043b\u0430\"<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<a href=\"http:\/\/www.php.net\/arsort\"><span style=\"color: #990000;\">arsort<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">foreach<\/span> <span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span> <span style=\"color: #b1b100;\">as<\/span> <span style=\"color: #000088;\">$key<\/span> <span style=\"color: #339933;\">=&gt;<\/span> <span style=\"color: #000088;\">$val<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #009900;\">{<\/span>\r\n    <span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #000088;\">$key<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000ff;\">\" = \"<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$val<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #0000ff;\">\"&lt;br&gt;\"<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span><\/pre>\n<pre>14 = \u0448\u043a\u043e\u043b\u0430\r\n12 = \u0446\u0438\u0440\u043a\r\n2 = \u0442\u0435\u0430\u0442\u0440\r\n8 = \u043c\u0443\u0437\u044b\u043a\u0430\r\n3 = \u043a\u0438\u043d\u043e<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0asort() \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432 \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0438\u00a0arsort() \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f: $a = array(2=&gt;&#187;\u0442\u0435\u0430\u0442\u0440&#187;, 3=&gt;&#187;\u043a\u0438\u043d\u043e&#187;, 8=&gt;&#187;\u043c\u0443\u0437\u044b\u043a\u0430&#187;, 12=&gt;&#187;\u0446\u0438\u0440\u043a&#187;, 14=&gt;&#187;\u0448\u043a\u043e\u043b\u0430&#187;); asort($a); foreach ($a as $key =&gt; $val) { echo $key.&#187; = &#171;.$val.&#187;&lt;br&gt;&#187;; } 3 = \u043a\u0438\u043d\u043e 8 = \u043c\u0443\u0437\u044b\u043a\u0430 2 = \u0442\u0435\u0430\u0442\u0440 12 = \u0446\u0438\u0440\u043a 14 = \u0448\u043a\u043e\u043b\u0430 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49675,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[],"class_list":["post-49715","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"views":1322,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49715"}],"version-history":[{"count":1,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49715\/revisions"}],"predecessor-version":[{"id":49716,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49715\/revisions\/49716"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/49675"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49715"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}