{"id":2632,"date":"2021-07-20T08:24:15","date_gmt":"2021-07-20T08:24:15","guid":{"rendered":"https:\/\/www.bearloga.space\/?page_id=2632"},"modified":"2021-07-20T08:24:16","modified_gmt":"2021-07-20T08:24:16","slug":"operatory-php","status":"publish","type":"page","link":"https:\/\/www.bearloga.space\/en\/operatory-php\/","title":{"rendered":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b PHP"},"content":{"rendered":"\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u044d\u0442\u043e\u0439 \u0433\u043b\u0430\u0432\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u0432 PHP, \u043a \u043d\u0438\u043c \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f: \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435, \u0431\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b.<br>\u0422\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0443\u0441\u043b\u043e\u0432\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0446\u0438\u043a\u043b\u043e\u0432.<br>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0441\u043b\u043e\u0432\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435.<br>\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0446\u0438\u043a\u043b\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0443\u0440\u043e\u043a\u043e\u0432 \u044d\u0442\u043e\u0439 \u0433\u043b\u0430\u0432\u044b:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u0427\u0430\u0441\u0442\u044c 1<\/h4>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0442\u0430\u043a\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 PHP:+\u0441\u0443\u043c\u043c\u0430 \u0434\u0432\u0443\u0445 \u0447\u0438\u0441\u0435\u043b-\u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0441\u0435\u043b\/\u0447\u0430\u0441\u0442\u043d\u043e\u0435 \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u0447\u0438\u0441\u0435\u043b%\u043e\u0441\u0442\u0430\u0442\u043e\u043a \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n<strong>echo<\/strong> \"2 + 2 = \", 2 + 2, \"&lt;br&gt;\"; \n<strong>echo<\/strong> \"5 - 2 = \", 5 - 2, \"&lt;br&gt;\"; \n<strong>echo<\/strong> \"10 * 10 = \", 10 * 10, \"&lt;br&gt;\"; \n<strong>echo<\/strong> \"100 \/ 2 = \", 100 \/ 2, \"&lt;br&gt;\"; \n<strong>echo<\/strong> \"10 % 2 = \", 10 % 2, \"&lt;br&gt;\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2 + 2 = 4 \n5 - 2 = 3\n10 * 10 = 100\n100 \/ 2 = 50\n10 % 2 = 0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">PHP \u0438\u043c\u0435\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u0432\u043e\u0442 \u0438\u0445 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Abs<\/strong>. \u041c\u043e\u0434\u0443\u043b\u044c \u0447\u0438\u0441\u043b\u0430.<\/li><li><strong>Sin<\/strong>. \u0421\u0438\u043d\u0443\u0441.<\/li><li><strong>Sinh<\/strong>. \u0413\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0438\u043d\u0443\u0441.<\/li><li><strong>Cos<\/strong>. \u041a\u043e\u0441\u0438\u043d\u0443\u0441<\/li><li><strong>Cosh<\/strong>. \u0413\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0441\u0438\u043d\u0443\u0441.<\/li><li><strong>Acos<\/strong>. \u0410\u0440\u043a\u043a\u043e\u0441\u0438\u043d\u0443\u0441<\/li><li><strong>Acosh<\/strong>. \u0413\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0440\u043a\u043a\u043e\u0441\u0438\u043d\u0443\u0441.<\/li><li><strong>Asin<\/strong>. \u0410\u0440\u043a\u0441\u0438\u043d\u0443\u0441.<\/li><li><strong>Asinh<\/strong>. \u0413\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0440\u043a\u0441\u0438\u043d\u0443\u0441.<\/li><li><strong>Atan2<\/strong>. \u0410\u0440\u043a\u0442\u0430\u043d\u0433\u0435\u043d\u0441 \u0447\u0430\u0441\u0442\u043d\u043e\u0433\u043e \u0434\u0432\u0443\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445.<\/li><li><strong>Tan<\/strong>. \u0422\u0430\u043d\u0433\u0435\u043d\u0441.<\/li><li><strong>Tanh<\/strong>. \u0413\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0442\u0430\u043d\u0433\u0435\u043d\u0441.<\/li><li><strong>Atan<\/strong>. \u0410\u0440\u043a\u0442\u0430\u043d\u0433\u0435\u043d\u0441.<\/li><li><strong>Atan<\/strong>. \u0413\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0440\u043a\u0442\u0430\u043d\u0433\u0435\u043d\u0441<\/li><li><strong>Base_convert<\/strong>. \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<br>\u0441\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0443\u044e.<\/li><li><strong>Decoct<\/strong>. \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432 \u0432\u043e\u0441\u044c\u043c\u0435\u0440\u0438\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a\u0438.<\/li><li><strong>Bindec<\/strong>. \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u0432 \u0446\u0435\u043b\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/li><li><strong>Octdec<\/strong>. \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u0432\u043e\u0441\u044c\u043c\u0435\u0440\u0438\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0432 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/li><li><strong>Hexdec<\/strong>. \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0432 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/li><li><strong>Ceil<\/strong>. \u041e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443.<\/li><li><strong>Floor<\/strong>. \u041e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432 \u043c\u0435\u043d\u044c\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443.<\/li><li><strong>Deg2rad<\/strong>. \u0413\u0440\u0430\u0434\u0443\u0441\u044b \u0432 \u0440\u0430\u0434\u0438\u0430\u043d\u044b.<\/li><li><strong>Exp<\/strong>. \u0412\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0447\u0438\u0441\u043b\u0430.<\/li><li><strong>Fmod<\/strong>. \u041e\u0441\u0442\u0430\u0442\u043e\u043a \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0434\u0432\u0443\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li><li><strong>Getrandmax<\/strong>. \u041c\u0430\u043a\u0441. \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439&nbsp;<em><strong>rand()<\/strong><\/em><\/li><li><strong>Hypot<\/strong>. \u0412\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0433\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u044b \u043f\u043e \u0434\u0432\u0443\u043c \u043a\u0430\u0442\u0435\u0442\u0430\u043c.<\/li><li><strong>Is_finite<\/strong>. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c.<\/li><li><strong>Is_infinite<\/strong>. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u044c\u044e.<\/li><li><strong>Is_nan<\/strong>. \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u041d\u0435 \u0447\u0438\u0441\u043b\u043e\u043c(Not-A-Number).<\/li><li><strong>Lcg_value<\/strong>. \u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li><li><strong>Log10<\/strong>. \u0414\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0439 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c.<\/li><li><strong>Log<\/strong>. \u041d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c.<\/li><li><strong>Max<\/strong>. \u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li><li><strong>Min<\/strong>. \u041c\u0438\u043d\u0438\u043c\u0443\u043c \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li><li><strong>Mt_getrandmax<\/strong>. \u041c\u0430\u043a\u0441. \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439&nbsp;<em><strong>mt_rand<\/strong><\/em>.<\/li><li><strong>Mt_rand<\/strong>. \u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u0441\u0435\u0432\u0434\u043e\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043f\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443.<\/li><li><strong>Pi<\/strong>. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u03c0.<\/li><li><strong>Pow<\/strong>. \u0412\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u0441\u0442\u0435\u043f\u0435\u043d\u044c.<\/li><li><strong>Round<\/strong>. \u041e\u043a\u0440\u0443\u0433\u043b\u044f\u0435\u0442 \u0447\u0438\u0441\u043b\u043e \u0442\u0438\u043f\u0430 float.<\/li><li><strong>Sqrt<\/strong>. \u041a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u0440\u0435\u043d\u044c.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n<strong>echo<\/strong> \"round(4.2) = \", round(4.2), \"&lt;br&gt;\"; \n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>round(4.2) = 4<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u044f \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u043a \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430&nbsp;<code>=<\/code>. \u041e\u043d \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$fruits = 14;\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$n = $m = $p = 3; \n<strong>echo<\/strong> $n, $m, $p;\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>333<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u0436\u0435 \u0432 PHP \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0435\u043b\u0430\u044e\u0442 \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u043c. \u0412\u043e\u0442 \u0438\u0445 \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>+=<\/strong><\/li><li><strong>-=<\/strong><\/li><li><strong>\/=<\/strong><\/li><li><strong>.=<\/strong><\/li><li><strong>%=<\/strong><\/li><li><strong>&amp;=<\/strong><\/li><li><strong>|=<\/strong><\/li><li><strong>^=<\/strong><\/li><li><strong>&lt;=<\/strong><\/li><li><strong>&gt;=<\/strong><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0431\u0430\u0432\u0438\u0442\u044c 55 \u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439&nbsp;<code>$number<\/code>, \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a:<br><code>$number = $number + 55<\/code>, \u0430 \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440, \u0442\u043e \u0442\u0430\u043a:&nbsp;<code>$number += 55<\/code>.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u043e \u0432 \u0445\u043e\u0434\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f PHP \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u0438\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0435\u0434\u0438\u043d\u0438\u0446\u0443, \u043b\u0438\u0431\u043e \u043e\u0442\u043d\u044f\u0442\u044c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 PHP \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430&nbsp;<code>$a = 0<\/code>, \u0442\u043e \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c 1 \u043a \u044d\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c:&nbsp;<code>$a++<\/code>, \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439&nbsp;<code>$\u0430<\/code>&nbsp;\u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0430, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043d\u044f\u0442\u044c 1, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a:&nbsp;<code>$a--<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>++<\/code>&nbsp;\u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u043e\u043c, \u0430&nbsp;<code>--<\/code>&nbsp;\u0434\u0435\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u043e\u043c.++$a\u041f\u0440\u0435-\u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442. \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443, \u0437\u0430\u0442\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435$a++\u041f\u043e\u0441\u0442-\u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443.&#8211;$a\u041f\u0440\u0435-\u0434\u0435\u043a\u0440\u0435\u043c\u0435\u043d\u0442. \u0423\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443, \u0437\u0430\u0442\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435$a&#8211;\u041f\u043e\u0441\u0442-\u0434\u0435\u043a\u0440\u0435\u043c\u0435\u043d\u0442. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u0435\u0433\u043e \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$a = $b = $c = $d = 2; \n\n<strong>echo<\/strong> $a++, \"&lt;br&gt;\";\n<strong>echo<\/strong> ++$b, \"&lt;br&gt;\";\n<strong>echo<\/strong> $c--, \"&lt;br&gt;\";\n<strong>echo<\/strong> --$d, \"&lt;br&gt;\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2\n3\n2\n1<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0438, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u043f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0430 (\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441 \u043e\u0434\u043d\u0438\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0441\u043b\u0435\u0432\u0430 \u043d\u0430 \u043f\u0440\u0430\u0432\u043e):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>new<\/td><\/tr><tr><td>[<\/td><\/tr><tr><td>! ~ ++ &#8212; (int) (float) (string) (array) (object)<\/td><\/tr><tr><td>@<\/td><\/tr><tr><td>* \/ %<\/td><\/tr><tr><td>+ &#8211; .<\/td><\/tr><tr><td>&lt; &gt;<\/td><\/tr><tr><td>&lt; &lt;= &gt; &gt;=<\/td><\/tr><tr><td>&amp;<\/td><\/tr><tr><td>^<\/td><\/tr><tr><td>|<\/td><\/tr><tr><td>&amp;&amp;<\/td><\/tr><tr><td>||<\/td><\/tr><tr><td>? :<\/td><\/tr><tr><td>= += -= *= \/= .= %= &amp;= |= ^= &lt;= &gt;=<\/td><\/tr><tr><td>print<\/td><\/tr><tr><td>and<\/td><\/tr><tr><td>xor<\/td><\/tr><tr><td>or<\/td><\/tr><tr><td>,<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0443\u0433\u043b\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438!<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 PHP \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0430\u043a\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440, \u043a\u0430\u043a&nbsp;<strong>\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/strong>, \u043e\u043d \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u041e\u0421 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041b\u044e\u0431\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0435 \u0430\u043f\u043e\u0441\u0442\u0440\u043e\u0444\u044b \u2014&nbsp;<code>`<\/code>&nbsp;\u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u041e\u0421. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$d = `dir d:\\\\`;\n<strong>echo<\/strong> $d;\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0434\u0438\u0441\u043a\u0430 D.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0421\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">PHP \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u041f\u0435\u0440\u0432\u044b\u0439<\/strong>&nbsp;&#8211; \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u0438&nbsp;<code>.<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u043e\u0434\u043d\u0443.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0412\u0442\u043e\u0440\u043e\u0439<\/strong>&nbsp;&#8211; \u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u0438\u044f&nbsp;<code>.=<\/code>, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043a \u0441\u0442\u0440\u043e\u043a\u0435 \u043d\u0443\u0436\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$d = \"Hello\";\n$f = $d.\" world\";   \/\/ \u0422\u0435\u043f\u0435\u0440\u044c $f = \"Hello world\"\n\n<strong>echo<\/strong> $f; \n\n<strong>echo<\/strong> \"&lt;br\/&gt;\"; \n\n$f .= \" ! ! !\";   \/\/ \u0422\u0435\u043f\u0435\u0440\u044c $f = \"Hello world ! ! !\"\n\n<strong>echo<\/strong> $f; \n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Hello world\nHello world ! ! !<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u0427\u0430\u0441\u0442\u044c 2<\/h4>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0423\u0441\u043b\u043e\u0432\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 IF \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u043e \u0432\u0441\u0435\u0445 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>if<\/code>, \u0432 PHP \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u044d\u0442\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0442\u0430\u043a\u043e\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>if<\/strong> (exp) \n   statement<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>exp<\/strong>&nbsp;(\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435) &#8211; \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u0442\u0438\u043d\u043e\u0439 (TRUE) \u0438\u043b\u0438 \u043b\u043e\u0436\u044c\u044e (FALSE).<br>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 100 &gt; 1 \u044d\u0442\u043e \u0438\u0441\u0442\u0438\u043d\u0430 (TRUE).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>statement<\/strong>&nbsp;(\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f) \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430&nbsp;<strong>exp<\/strong>&nbsp;\u2014 \u0438\u0441\u0442\u0438\u043d\u0430, \u0438 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0433\u0434\u0430&nbsp;<strong>exp<\/strong>&nbsp;\u043b\u043e\u0436\u044c!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u044b \u0431\u0443\u0434\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 60 \u0442\u043e \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 80;\n\n<strong>if<\/strong> ($speed &gt; 60)\n    <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445 \u0432 \u0444\u0438\u0433\u0443\u0440\u043d\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438&nbsp;<code>{<\/code>&nbsp;\u0438&nbsp;<code>}<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 80;\n\n<strong>if<\/strong> ($speed &gt; 60) \n{    \/\/ \u041d\u0430\u0447\u0430\u043b\u043e\n  <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438! &lt;br&gt;\";\n  <strong>echo<\/strong> \"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c!\";\n}    \/\/ \u041a\u043e\u043d\u0435\u0446\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438!\n\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c!<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438&nbsp;<a href=\"https:\/\/php720.com\/lesson\/14\" target=\"_blank\" rel=\"noopener\">\u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 if<\/a>&nbsp;\u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0437\u043d\u0430\u043a&nbsp;<strong>&gt;<\/strong>&nbsp;\u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0442\u0430\u043a \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432 PHP! \u0412\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u0432 PHP \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>==<\/td><td>\u0420\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u0440\u0430\u0432\u043d\u043e $b<\/td><\/tr><tr><td>===<\/td><td>\u0418\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u0440\u0430\u0432\u043d\u043e $b, \u0438 \u043e\u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0442\u0438\u043f\u0430<\/td><\/tr><tr><td>!=<\/td><td>\u041d\u0435\u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u043d\u0435 \u0440\u0430\u0432\u043d\u043e $b<\/td><\/tr><tr><td>&lt;&gt;<\/td><td>\u041d\u0435\u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u043d\u0435 \u0440\u0430\u0432\u043d\u043e $b<\/td><\/tr><tr><td>!==<\/td><td>\u041d\u0435\u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u043d\u0435 \u0440\u0430\u0432\u043d\u043e $b, \u0438\u043b\u0438 \u043e\u043d\u0438 \u043d\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430<\/td><\/tr><tr><td>&lt;<\/td><td>\u041c\u0435\u043d\u044c\u0448\u0435<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u043c\u0435\u043d\u044c\u0448\u0435 $b<\/td><\/tr><tr><td>&gt;<\/td><td>\u0411\u043e\u043b\u044c\u0448\u0435<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u0431\u043e\u043b\u044c\u0448\u0435 $b<\/td><\/tr><tr><td>&lt;=<\/td><td>\u041c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e $b<\/td><\/tr><tr><td>&gt;=<\/td><td>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e $b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a&nbsp;<code>==<\/code>, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e&nbsp;<code>=<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 45;\n\n<strong>if<\/strong> ($speed &lt;= 60)\n    <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n?&gt;<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u0435\u0441\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 3 \u0438 \u043c\u0435\u043d\u044c\u0448\u0435 6, \u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u044d\u0442\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 40;\n\n<strong>if<\/strong> ($speed &gt; 35 &amp;&amp; $speed &lt; 55) {\n    <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n}\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>and<\/td><td>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#8220;\u0418&#8221;<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 \u0438\u0441\u0442\u0438\u043d\u043d\u043e $a \u0438 $b<\/td><\/tr><tr><td>&amp;&amp;<\/td><td>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#8220;\u0418&#8221;<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 \u0438\u0441\u0442\u0438\u043d\u043d\u043e $a \u0438 $b<\/td><\/tr><tr><td>or<\/td><td>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#8220;\u0418\u041b\u0418&#8221;<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 \u0438\u0441\u0442\u0438\u043d\u043d\u043e $a \u0438\u043b\u0438 $b<\/td><\/tr><tr><td>||<\/td><td>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#8220;\u0418\u041b\u0418&#8221;<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 \u0438\u0441\u0442\u0438\u043d\u043d\u043e $a \u0438\u043b\u0438 $b<\/td><\/tr><tr><td>xor<\/td><td>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#8220;\u0418\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0435 \u0418\u041b\u0418&#8221;<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 \u0438\u0441\u0442\u0438\u043d\u043d\u043e $a \u0438\u043b\u0438 $b, \u043d\u043e \u043d\u0435 \u043e\u0431\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e<\/td><\/tr><tr><td>!<\/td><td>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#8220;\u041d\u0415&#8221;<\/td><td>\u0418\u0441\u0442\u0438\u043d\u0430, \u0435\u0441\u043b\u0438 $a \u043b\u043e\u0436\u044c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0430\u043a \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0432\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 &#8220;\u0418&#8221; \u0438 &#8220;\u0418\u041b\u0418&#8221;. \u042d\u0442\u043e \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>&amp;&amp;<\/code>&nbsp;\u0438\u043b\u0438&nbsp;<code>||<\/code>&nbsp;\u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u0439&nbsp;<a href=\"https:\/\/php720.com\/lesson\/11\" target=\"_blank\" rel=\"noopener\">\u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442<\/a>&nbsp;\u043e\u0442 &#8220;\u0418&#8221; \u0438 &#8220;\u0418\u041b\u0418&#8221;.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 ELSE \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438 \u0438\u0441\u0442\u0438\u043d\u043d\u043e\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0430 \u043f\u0440\u0438 \u043b\u043e\u0436\u043d\u043e\u043c \u0434\u0440\u0443\u0433\u043e\u0435. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 PHP \u0435\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>else<\/code>. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>if<\/strong>(exp) \n    statement1\n<strong>else<\/strong> \n    statement2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 50;\n\n<strong>if<\/strong> ($speed &gt; 60)\n    <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\";\n<strong>else<\/strong> \n    <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\" \n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 &#8220;\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b&#8221;.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 ELSEIF \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code><a href=\"https:\/\/php720.com\/lesson\/14\" target=\"_blank\" rel=\"noopener\">if<\/a><\/code>&nbsp;\u0438\u043c\u0435\u0435\u0442 \u0435\u0449\u0435 \u043e\u0434\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u044d\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>elseif<\/code>, \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>if<\/strong> (exp) \n    statement1\n<strong>elseif<\/strong> (exp2) \n    statement2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0442\u0430\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>if<\/strong> (exp) \n    statement1\n<strong>else<\/strong> <strong>if<\/strong> (exp2) \n    statement2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 50;\n\n<strong>if<\/strong> ($speed &lt; 30)\n    <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n\n<strong>elseif<\/strong> ($speed == 30)\n    <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 30 \u043a\u043c\/\u0447\u0430\u0441\";\n\n<strong>elseif<\/strong> ($speed == 40)\n    <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 40 \u043a\u043c\/\u0447\u0430\u0441\";\n\n<strong>elseif<\/strong> ($speed == 50)\n    <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 50 \u043a\u043c\/\u0447\u0430\u0441\";\n\n<strong>elseif<\/strong> ($speed == 60)\n    <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 60 \u043a\u043c\/\u0447\u0430\u0441\";\n\n<strong>else<\/strong> \n    <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u0436\u0435, \u0442\u0430\u043a\u043e\u0439 \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0442\u0430\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 50;\n\n<strong>if<\/strong> ($speed &lt; 30)\n    <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n\n<strong>elseif<\/strong> ($speed &gt;= 30 &amp;&amp; $speed &lt;= 60)\n    <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c {$speed} \u043a\u043c\/\u0447\u0430\u0441\";\n\n<strong>else<\/strong> \n    <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 &#8220;\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 50 \u043a\u043c\/\u0447\u0430\u0441&#8221;. \u0410 \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u043e\u0434\u043d\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043d\u0435 \u043f\u043e\u0434\u043e\u0448\u043b\u043e \u0431\u044b , \u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0431\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>else<\/code>&nbsp;\u0438 \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 &#8220;\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !&#8221;.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0422\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438&nbsp;<a href=\"https:\/\/php720.com\/lesson\/14\" target=\"_blank\" rel=\"noopener\">\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>if<\/code><\/a>, \u043d\u043e \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u043c\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u043f\u0438\u0448\u0435\u043c&nbsp;<code>?<\/code>&nbsp;\u0438&nbsp;<code>:<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$var = condition ? exp1 : exp2;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f, \u0442\u043e&nbsp;<a href=\"https:\/\/php720.com\/lesson\/3\" target=\"_blank\" rel=\"noopener\">\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<\/a>&nbsp;<code>$var<\/code>&nbsp;\u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f&nbsp;<code>exp1<\/code>, \u0438\u043d\u0430\u0447\u0435&nbsp;<code>exp2<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 55;\n\n<strong>echo<\/strong> ($speed &lt;= 60) ? \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\" : \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\"; \n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443 &#8211; &#8220;\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b&#8221;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PHP 5.3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 PHP 5.3 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$var = $value ?: \"\u0414\u0440\u0443\u0433\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\";\n\n\/\/ \u0435\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e\n$var = $value ? $value : \"\u0414\u0440\u0443\u0433\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439, \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043d\u0435 \u0440\u0430\u0432\u043d\u044f\u0435\u0442\u0441\u044f&nbsp;<code>true<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PHP 7<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u0436\u0435, \u0443\u0436\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 PHP 7.0 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$var = $value ?? \"\u0414\u0440\u0443\u0433\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\";\n\n\/\/ \u0435\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e\n$var = <strong>isset<\/strong>($value) ? $value : \"\u0414\u0440\u0443\u0433\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\";\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f. \u0422. \u0435., \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 SWITCH \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u043d\u043e\u0433\u0434\u0430 \u0434\u0430\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432&nbsp;<code><a href=\"https:\/\/php720.com\/lesson\/14\" target=\"_blank\" rel=\"noopener\">if<\/a><\/code>&nbsp;..&nbsp;<code><a href=\"https:\/\/php720.com\/lesson\/18\" target=\"_blank\" rel=\"noopener\">elseif<\/a><\/code>&nbsp;\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0442\u043e\u043c\u043b\u044f\u0435\u0442.<br>\u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0435\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>switch<\/code>. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>switch<\/strong> (exp) \n{\n    <strong>case<\/strong> condition1:\n    exp1;\n    <strong>break<\/strong>;\n    \n    <strong>case<\/strong> condition2:\n    exp2;\n    <strong>break<\/strong>;\n    \n    <strong>case<\/strong> condition3:\n    exp3;\n    <strong>break<\/strong>;\n    \n    <strong>default<\/strong>:\n    exp4;\n    <strong>break<\/strong>;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e&nbsp;<code>switch<\/code>, \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435.<br>\u0414\u0430\u043b\u0435\u0435, \u043f\u043e\u0441\u043b\u0435 \u0441\u043b\u043e\u0432\u0430&nbsp;<code>case<\/code>&nbsp;\u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0441\u0442\u0438\u043d\u0430, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0434\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;<code>break<\/code>. \u0415\u0441\u043b\u0438 \u043d\u0438 \u043e\u0434\u043d\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>default<\/code>&nbsp;(\u0435\u0441\u043b\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440&nbsp;<code>default<\/code>&nbsp;\u043d\u0435 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c, \u0442\u043e \u043f\u0440\u0438 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 55;\n\n<strong>switch<\/strong>($speed)\n{\n    <strong>case<\/strong> 30 : \n        <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 30 \u043a\u043c\/\u0447\u0430\u0441\";\n    <strong>break<\/strong>;\n    \n    <strong>case<\/strong> 58 : \n        <strong>echo<\/strong> \"\u0412\u0430\u0448\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c 50 \u043a\u043c\/\u0447\u0430\u0441\";\n    <strong>break<\/strong>;\n    \n    <strong>case<\/strong> 70 : \n        <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\";\n    <strong>break<\/strong>;\n    \n    <strong>default<\/strong> : \n        <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n    <strong>break<\/strong>;\n\n}\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a\u0436\u0435, \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430&nbsp;<code>switch<\/code>, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$speed = 55;\n\n<strong>switch<\/strong>($speed)\n{\n    <strong>case<\/strong> 30 : \n    <strong>case<\/strong> 58 : \n        <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n    <strong>break<\/strong>;\n    \n    <strong>case<\/strong> 70 : \n        <strong>echo<\/strong> \"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 !\";\n    <strong>break<\/strong>;\n    \n    <strong>default<\/strong> : \n        <strong>echo<\/strong> \"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b\";\n    <strong>break<\/strong>;\n\n}\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u2014 &#8220;\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043d\u043e\u0440\u043c\u044b&#8221;.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u0427\u0430\u0441\u0442\u044c 3<\/h4>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0426\u0438\u043a\u043b FOR \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432 \u0435\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0437\u0430\u043d\u044f\u043b\u043e \u0431\u044b \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<br>\u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0446\u0438\u043a\u043b\u044b. \u041f\u0435\u0440\u0432\u044b\u043c \u0446\u0438\u043a\u043b\u043e\u043c \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043c\u044b \u043d\u0430\u0447\u043d\u0435\u043c \u0433\u043b\u0430\u0432\u0443 \u0431\u0443\u0434\u0435\u0442 \u0446\u0438\u043a\u043b&nbsp;<code>for<\/code>. \u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0435\u0433\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>for<\/strong> (exp1; exp2; exp3) statement<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435&nbsp;<strong>exp1<\/strong>&nbsp;\u0432\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0430 \u0446\u0438\u043a\u043b\u0430 \u2014 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u043b\u0430 \u0446\u0438\u043a\u043b\u0430.<br><strong>exp2<\/strong>&nbsp;\u2014 \u0437\u0430\u0434\u0430\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f \u0446\u0438\u043a\u043b\u0430. \u0426\u0438\u043a\u043b \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u0441\u044f \u043f\u043e\u043a\u0430 \u044d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 true.<br><strong>exp3<\/strong>&nbsp;\u2014 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u043b\u0430 \u0446\u0438\u043a\u043b\u0430. \u041e\u0431\u044b\u0447\u043d\u043e, \u043e\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (\u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435) \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0430.<br>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n<strong>for<\/strong> ($i = 0; $i &lt; 10; $i++) \n{\n   <strong>echo<\/strong> \"\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437 &lt;br&gt;\"; \n} \n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437\n\u0412\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438. 10 \u0440\u0430\u0437<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0426\u0438\u043a\u043b\u044b WHILE \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0426\u0438\u043a\u043b WHILE, \u0432\u043c\u0435\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0430 \u0446\u0438\u043a\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0434\u043e \u0442\u043e\u0433\u043e, \u043f\u043e\u043a\u0430 \u044d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0418\u0441\u0442\u0438\u043d\u0430 (TRUE). \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>while<\/strong> (exp) statement<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c \u0446\u0438\u043a\u043b\u0430, \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u041b\u043e\u0436\u043d\u044b\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, \u0442\u043e \u0446\u0438\u043a\u043b \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u043d\u0438 \u0440\u0430\u0437\u0443!<br>\u0412 \u0442\u0435\u043b\u0435 \u0446\u0438\u043a\u043b\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$counter = 0; \n<strong>while<\/strong> ($counter &lt; 5) \n{\n   <strong>echo<\/strong> \"\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 5 \u0440\u0430\u0437 &lt;br&gt;\"; \n   $counter++;\n}\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 5 \u0440\u0430\u0437\n\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 5 \u0440\u0430\u0437\n\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 5 \u0440\u0430\u0437\n\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 5 \u0440\u0430\u0437\n\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 5 \u0440\u0430\u0437<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0442\u0440\u043e\u043a\u0438,&nbsp;<a href=\"https:\/\/php720.com\/lesson\/3\" target=\"_blank\" rel=\"noopener\">\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f<\/a>&nbsp;<code>$counter<\/code>&nbsp;\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 1, \u0438 \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 \u0441\u0442\u0430\u043d\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u0430 5, \u0442\u043e \u0446\u0438\u043a\u043b \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0426\u0438\u043a\u043b DO&#8230; WHILE \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0446\u0438\u043a\u043b\u0430 DO &#8230; WHILE \u043e\u0442 WHILE \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043b\u043e \u0446\u0438\u043a\u043b\u0430, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0435. \u0422.\u0435., \u0435\u0441\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0441\u0440\u0430\u0437\u0443 \u041b\u043e\u0436\u044c, \u0442\u043e \u0446\u0438\u043a\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437.<br>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>do<\/strong>\n   statement \n<strong>while<\/strong> (condition)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0446\u0438\u043a\u043b\u0430 DO&#8230; WHILE:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$counter = 6; \n\n<strong>do<\/strong>\n{\n   <strong>echo<\/strong> \"\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 1 \u0440\u0430\u0437 &lt;br&gt;\"; \n   $counter++;\n}\n<strong>while<\/strong> ($counter &lt; 5);\n\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0442\u0430\u043a\u043e\u0435:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f 1 \u0440\u0430\u0437<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a \u043a\u0430\u043a \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0446\u0438\u043a\u043b\u0430 \u0441\u0440\u0430\u0437\u0443 \u041b\u043e\u0436\u044c (6 &gt; 5), \u0442\u043e \u0446\u0438\u043a\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043b\u043e \u0446\u0438\u043a\u043b\u0430, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0446\u0438\u043a\u043b\u0430.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u0426\u0438\u043a\u043b FOREACH \u0432 PHP<\/strong><\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">\u0426\u0438\u043a\u043b FOREACH \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438 (\u043c\u0430\u0441\u0441\u0438\u0432\u044b \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u0434\u0430\u043b\u044c\u0448\u0435). \u041c\u0430\u0441\u0441\u0438\u0432\u044b \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0438\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0446\u0438\u043a\u043b FOREACH \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u044d\u0442\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u0435\u0437 \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0430.<br>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>foreach<\/strong> (<strong>array<\/strong> <strong>as<\/strong> $value) statement \n<strong>foreach<\/strong> (<strong>array<\/strong> <strong>as<\/strong> $key =&gt; $value) statement<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0446\u0438\u043a\u043b\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$array = <strong>array<\/strong> (\"Apple\", \"Limon\", \"Chery\", \"Oranges\"); \n\n<strong>foreach<\/strong> ($array <strong>as<\/strong> $value)\n{\n   <strong>echo<\/strong> \"\u0412\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0444\u0440\u0443\u043a\u0442 - $value &lt;br&gt;\"; \n}\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u0412\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0444\u0440\u0443\u043a\u0442 - Apple \n\u0412\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0444\u0440\u0443\u043a\u0442 - Limon \n\u0412\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0444\u0440\u0443\u043a\u0442 - Chery \n\u0412\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0444\u0440\u0443\u043a\u0442 - Oranges<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0433\u043b\u0430\u0432\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0441\u0442\u044c \u0432 PHP, \u043a \u043d\u0438\u043c \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f: \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435, \u0431\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b.\u0422\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0443\u0441\u043b\u043e\u0432\u043d\u044b\u0435 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[100],"tags":[],"class_list":["post-2632","page","type-page","status-publish","hentry","category-onlajn-uchebnik-po-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/pages\/2632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/comments?post=2632"}],"version-history":[{"count":0,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/pages\/2632\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/media?parent=2632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/categories?post=2632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/tags?post=2632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}