{"id":498,"date":"2020-05-06T09:25:22","date_gmt":"2020-05-06T06:25:22","guid":{"rendered":"https:\/\/ek.oa.edu.ua\/Kukhta\/test3\/?p=498"},"modified":"2020-05-06T09:26:06","modified_gmt":"2020-05-06T06:26:06","slug":"operatory-prysvoiennia-v-php","status":"publish","type":"post","link":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/operatory-prysvoiennia-v-php\/","title":{"rendered":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438 \u043f\u0440\u0438\u0441\u0432\u043e\u0454\u043d\u043d\u044f \u0432 PHP"},"content":{"rendered":"<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0438\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0454\u043d\u043d\u044f \u0454 \u0437\u043d\u0430\u043a \u0440\u0456\u0432\u043d\u043e\u0441\u0442\u0456 <code>=<\/code>. \u0412\u0456\u043d \u043f\u0440\u0438\u0441\u0432\u043e\u044e\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0435\u0432\u043d\u043e\u0457 \u0437\u043c\u0456\u043d\u043d\u043e\u0457:<\/p>\n<pre class=\"prettyprint linenums\"><span class=\"hljs-preprocessor\">&lt;?php\r\n<\/span><span class=\"hljs-variable\">$fruits<\/span> = <span class=\"hljs-number\">14<\/span>;\r\n<span class=\"hljs-preprocessor\">?&gt;\r\n<\/span><\/pre>\n<p>\u0412 \u043e\u0434\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443 \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0457\u0442\u0438 \u043e\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0432\u0456\u0434\u0440\u0430\u0437\u0443 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u043c \u0437\u043c\u0456\u043d\u043d\u0438\u043c, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/p>\n<pre class=\"prettyprint linenums\"><span class=\"hljs-preprocessor\">&lt;?php\r\n<\/span><span class=\"hljs-variable\">$n<\/span> = <span class=\"hljs-variable\">$m<\/span> = <span class=\"hljs-variable\">$p<\/span> = <span class=\"hljs-number\">3<\/span>;\r\n<span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-variable\">$n<\/span>, <span class=\"hljs-variable\">$m<\/span>, <span class=\"hljs-variable\">$p<\/span>;\r\n<span class=\"hljs-preprocessor\">?&gt;<\/span><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456:<\/p>\n<pre class=\"result\">333<\/pre>\n<p>\u0422\u0430\u043a\u043e\u0436 \u0432 PHP \u0454 \u043a\u043e\u043c\u0431\u0456\u043d\u043e\u0432\u0430\u043d\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438, \u044f\u043a\u0456 \u0440\u043e\u0431\u043b\u044f\u0442\u044c \u043a\u043e\u0434 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0456\u0448\u0438\u043c. \u041e\u0441\u044c \u0457\u0445 \u043f\u0435\u0440\u0435\u043b\u0456\u043a:<\/p>\n<ul>\n<li><strong>+=<\/strong><\/li>\n<li><strong>-=<\/strong><\/li>\n<li><strong>\/=<\/strong><\/li>\n<li><strong>.=<\/strong><\/li>\n<li><strong>%=<\/strong><\/li>\n<li><strong>&amp;=<\/strong><\/li>\n<li><strong>|=<\/strong><\/li>\n<li><strong>^=<\/strong><\/li>\n<li><strong>&lt;=<\/strong><\/li>\n<li><strong>&gt;=<\/strong><\/li>\n<\/ul>\n<p>\u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u044f\u043a\u0449\u043e \u0442\u0440\u0435\u0431\u0430 \u0434\u043e\u0434\u0430\u0442\u0438 55 \u0434\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u043c\u0456\u043d\u043d\u043e\u0457 <code>$number<\/code>, \u0446\u0435 \u043c\u043e\u0436\u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u044f\u043a:<br \/>\n<code>$number = $number + 55<\/code>, \u0430 \u044f\u043a\u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043a\u043e\u043c\u0431\u0456\u043d\u043e\u0432\u0430\u043d\u0438\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440, \u0442\u043e \u0442\u0430\u043a: <code>$number += 55<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0438\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0454\u043d\u043d\u044f \u0454 \u0437\u043d\u0430\u043a \u0440\u0456\u0432\u043d\u043e\u0441\u0442\u0456 =. \u0412\u0456\u043d \u043f\u0440\u0438\u0441\u0432\u043e\u044e\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u043f\u0435\u0432\u043d\u043e\u0457 \u0437\u043c\u0456\u043d\u043d\u043e\u0457: &lt;?php $fruits = 14; ?&gt; \u0412 \u043e\u0434\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443 \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0457\u0442\u0438 \u043e\u0434\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0432\u0456\u0434\u0440\u0430\u0437\u0443 \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u043c \u0437\u043c\u0456\u043d\u043d\u0438\u043c, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434: &lt;?php $n = $m = $p = 3; echo $n, $m, $p; ?&gt; \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456: 333 \u0422\u0430\u043a\u043e\u0436 \u0432 PHP \u0454 \u043a\u043e\u043c\u0431\u0456\u043d\u043e\u0432\u0430\u043d\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438, \u044f\u043a\u0456 \u0440\u043e\u0431\u043b\u044f\u0442\u044c \u043a\u043e\u0434 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-498","post","type-post","status-publish","format-standard","hentry","category-operatory"],"_links":{"self":[{"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts\/498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/comments?post=498"}],"version-history":[{"count":2,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts\/498\/revisions"}],"predecessor-version":[{"id":500,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts\/498\/revisions\/500"}],"wp:attachment":[{"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/media?parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/categories?post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/tags?post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}