{"id":49142,"date":"2018-09-16T21:04:43","date_gmt":"2018-09-16T15:04:43","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=49142"},"modified":"2018-09-16T21:04:43","modified_gmt":"2018-09-16T15:04:43","slug":"strip_tags","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=49142","title":{"rendered":"strip_tags()"},"content":{"rendered":"<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<strong>strip_tags()<\/strong>\u00a0\u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432.<\/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: 11px;\"><span style=\"color: #000088;\">$text<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #0000ff;\">\"&lt;p&gt;\u0424\u0443\u043d\u043a\u0446\u0438\u044f &lt;strong&gt;strip_tags()&lt;\/strong&gt; \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432.&lt;\/p&gt;\"<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #000088;\">$text<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$text<\/span> <span style=\"color: #339933;\">=<\/span> <a href=\"http:\/\/www.php.net\/strip_tags\"><span style=\"color: #990000;\">strip_tags<\/span><\/a><span style=\"color: #009900;\">(<\/span><span style=\"color: #000088;\">$text<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #000088;\">$text<\/span><span style=\"color: #339933;\">;<\/span><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<blockquote><p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<strong>strip_tags()<\/strong>\u00a0\u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432.<\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f strip_tags() \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f\u00a0strip_tags()\u00a0\u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432. \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f: $text = &#171;&lt;p&gt;\u0424\u0443\u043d\u043a\u0446\u0438\u044f &lt;strong&gt;strip_tags()&lt;\/strong&gt; \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432.&lt;\/p&gt;&#187;; echo $text; $text = strip_tags($text); echo $text; \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: \u0424\u0443\u043d\u043a\u0446\u0438\u044f\u00a0strip_tags()\u00a0\u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432. \u0424\u0443\u043d\u043a\u0446\u0438\u044f strip_tags() \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0442 HTML, XML, PHP \u0442\u0435\u0433\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49140,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[],"class_list":["post-49142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"views":1591,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49142","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=49142"}],"version-history":[{"count":1,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49142\/revisions"}],"predecessor-version":[{"id":49143,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/49142\/revisions\/49143"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/49140"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49142"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}