{"id":49701,"date":"2018-09-17T10:58:52","date_gmt":"2018-09-17T04:58:52","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=49701"},"modified":"2018-09-17T10:58:52","modified_gmt":"2018-09-17T04:58:52","slug":"%d0%b8%d0%b7%d0%bc%d0%b5%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5-%d1%80%d0%b5%d0%b3%d0%b8%d1%81%d1%82%d1%80%d0%b0-%d0%b2%d1%81%d0%b5%d1%85-%d0%ba%d0%bb%d1%8e%d1%87%d0%b5%d0%b9-%d0%bc%d0%b0%d1%81%d1%81%d0%b8","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=49701","title":{"rendered":"\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0432\u0441\u0435\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u0430"},"content":{"rendered":"<p>\u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0432\u0441\u0435\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<strong>array_change_key_case()<\/strong>.\u00a0\u0427\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u043d\u0435\u0442\u0440\u043e\u043d\u0443\u0442\u044b\u043c\u0438.<\/p>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\u00a0CASE_UPPER, \u043b\u0438\u0431\u043e CASE_LOWER (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e).<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n<p>\u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440<\/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: #0000ff;\">\"g1\"<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u043a\u0438\u043d\u043e\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">\"g2\"<\/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: #0000ff;\">\"g3\"<\/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: #0000ff;\">\"g4\"<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0446\u0438\u0440\u043a\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">\"red\"<\/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\/print_r\"><span style=\"color: #990000;\">print_r<\/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;\">echo<\/span> <span style=\"color: #0000ff;\">\"&lt;br&gt;\"<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$a<\/span> <span style=\"color: #339933;\">=<\/span> <a href=\"http:\/\/www.php.net\/array_change_key_case\"><span style=\"color: #990000;\">array_change_key_case<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span><span style=\"color: #339933;\">,<\/span> CASE_UPPER<span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<a href=\"http:\/\/www.php.net\/print_r\"><span style=\"color: #990000;\">print_r<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span><\/pre>\n<blockquote><p>Array ( [g1] =&gt; \u043a\u0438\u043d\u043e [g2] =&gt; \u043c\u0443\u0437\u044b\u043a\u0430 [g3] =&gt; \u0442\u0435\u0430\u0442\u0440 [g4] =&gt; \u0446\u0438\u0440\u043a [red] =&gt; \u0448\u043a\u043e\u043b\u0430 )<br \/>\nArray ( [G1] =&gt; \u043a\u0438\u043d\u043e [G2] =&gt; \u043c\u0443\u0437\u044b\u043a\u0430 [G3] =&gt; \u0442\u0435\u0430\u0442\u0440 [G4] =&gt; \u0446\u0438\u0440\u043a [RED] =&gt; \u0448\u043a\u043e\u043b\u0430 )<\/p><\/blockquote>\n<p>\u041d\u0438\u0436\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440<\/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: #0000ff;\">\"S1\"<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u043a\u0438\u043d\u043e\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">\"S2\"<\/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: #0000ff;\">\"S3\"<\/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: #0000ff;\">\"S4\"<\/span><span style=\"color: #339933;\">=&gt;<\/span><span style=\"color: #0000ff;\">\"\u0446\u0438\u0440\u043a\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">\"RED\"<\/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\/print_r\"><span style=\"color: #990000;\">print_r<\/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;\">echo<\/span> <span style=\"color: #0000ff;\">\"&lt;br&gt;\"<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$a<\/span> <span style=\"color: #339933;\">=<\/span> <a href=\"http:\/\/www.php.net\/array_change_key_case\"><span style=\"color: #990000;\">array_change_key_case<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span><span style=\"color: #339933;\">,<\/span> CASE_LOWER<span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<a href=\"http:\/\/www.php.net\/print_r\"><span style=\"color: #990000;\">print_r<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$a<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span><\/pre>\n<blockquote><p>Array ( [S1] =&gt; \u043a\u0438\u043d\u043e [S2] =&gt; \u043c\u0443\u0437\u044b\u043a\u0430 [S3] =&gt; \u0442\u0435\u0430\u0442\u0440 [S4] =&gt; \u0446\u0438\u0440\u043a [RED] =&gt; \u0448\u043a\u043e\u043b\u0430 )<br \/>\nArray ( [s1] =&gt; \u043a\u0438\u043d\u043e [s2] =&gt; \u043c\u0443\u0437\u044b\u043a\u0430 [s3] =&gt; \u0442\u0435\u0430\u0442\u0440 [s4] =&gt; \u0446\u0438\u0440\u043a [red] =&gt; \u0448\u043a\u043e\u043b\u0430 )<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0432\u0441\u0435\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u00a0array_change_key_case().\u00a0\u0427\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u043d\u0435\u0442\u0440\u043e\u043d\u0443\u0442\u044b\u043c\u0438. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\u00a0CASE_UPPER, \u043b\u0438\u0431\u043e CASE_LOWER (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e). \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f: \u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 $a = array(&#171;g1&#8243;=&gt;&#187;\u043a\u0438\u043d\u043e&#187;, &#171;g2&#8243;=&gt;&#187;\u043c\u0443\u0437\u044b\u043a\u0430&#187;, &#171;g3&#8243;=&gt;&#187;\u0442\u0435\u0430\u0442\u0440&#187;, &#171;g4&#8243;=&gt;&#187;\u0446\u0438\u0440\u043a&#187;, &#171;red&#187;=&gt;&#187;\u0448\u043a\u043e\u043b\u0430&#187;); print_r($a); echo &#171;&lt;br&gt;&#187;; $a = array_change_key_case($a, CASE_UPPER); print_r($a); Array ( [g1] =&gt; \u043a\u0438\u043d\u043e [g2] =&gt; \u043c\u0443\u0437\u044b\u043a\u0430 [g3] =&gt; \u0442\u0435\u0430\u0442\u0440 [g4] =&gt; \u0446\u0438\u0440\u043a [red] =&gt; \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-49701","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"views":1433,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49701","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=49701"}],"version-history":[{"count":1,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49701\/revisions"}],"predecessor-version":[{"id":49702,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49701\/revisions\/49702"}],"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=49701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49701"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}