{"id":606,"date":"2020-05-22T18:12:48","date_gmt":"2020-05-22T15:12:48","guid":{"rendered":"https:\/\/ek.oa.edu.ua\/Kukhta\/test3\/?p=606"},"modified":"2020-05-22T18:14:08","modified_gmt":"2020-05-22T15:14:08","slug":"znachennia-za-zamovchuvanniam-dlia-arhumentiv-funktsii","status":"publish","type":"post","link":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/znachennia-za-zamovchuvanniam-dlia-arhumentiv-funktsii\/","title":{"rendered":"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0434\u043b\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0456\u0432 \u0444\u0443\u043d\u043a\u0446\u0456\u0457"},"content":{"rendered":"<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0438\u0432\u0438\u043c\u043e\u0441\u044f \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u044e:<\/p>\n<pre class=\"prettyprint linenums\">&lt;?php\r\nfunction hello($text) {\r\necho $text;\r\n}\r\n\r\nhello('\u041f\u0440\u0438\u0432\u0456\u0442');\r\n?&gt;<\/pre>\n<p>\u0426\u044f \u0444\u0443\u043d\u043a\u0446\u0456\u044f \u0431\u0443\u0434\u0435 \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u0438 \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u0442\u0435\u043a\u0441\u0442, \u044f\u043a\u0438\u0439 \u0431\u0443\u0434\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0438\u0439 \u0457\u0439 \u0432 \u044f\u043a\u043e\u0441\u0442\u0456 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0443. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c &#8221; <em>\u041f\u0440\u0438\u0432\u0456\u0442<\/em>&#8220;:<\/p>\n<pre class=\"result\">\u041f\u0440\u0438\u0432\u0456\u0442<\/pre>\n<p>\u0429\u043e \u0431\u0443\u0434\u0435, \u044f\u043a\u0449\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0443, \u0442\u043e\u0431\u0442\u043e, \u0449\u043e \u0431\u0443\u0434\u0435 \u044f\u043a\u0449\u043e \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u043e <code>hello()<\/code>:<\/p>\n<pre class=\"result\">Warning: Missing argument 1 for hello(), called in...<\/pre>\n<p>\u042f\u043a \u0431\u0430\u0447\u0438\u0442\u0435, \u043c\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u0454\u043c\u043e \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443. \u0429\u043e\u0431 \u0446\u044c\u043e\u0433\u043e \u043d\u0435 \u0431\u0443\u043b\u043e, \u043c\u043e\u0436\u043d\u0430 \u0437\u0430\u0434\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0434\u043b\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0456\u0432 \u0444\u0443\u043d\u043a\u0446\u0456\u0457. \u0426\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0431\u0443\u0434\u0443\u0442\u044c \u043f\u0456\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u0438\u0441\u044f, \u044f\u043a\u0449\u043e \u043d\u0435 \u0431\u0443\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0456 \u0434\u0430\u043d\u0456 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0443.<\/p>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0437\u0430\u0434\u0430\u044e\u0442\u044c\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre class=\"prettyprint linenums\">&lt;?php\r\nfunction hello($text = \"\u041f\u0440\u0438\u0432\u0456\u0442\") {\r\necho $text;\r\n}\r\n\r\nhello(<span class=\"hljs-string\">'\u0414\u043e\u0431\u0440\u0438\u0439 \u0434\u0435\u043d\u044c'<\/span>);\r\n\r\n<span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"&lt;br\/&gt;\"<\/span>;\r\n\r\nhello();\r\n?&gt;<\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u043a\u043e\u0434\u0443:<\/p>\n<pre class=\"result\">\u0414\u043e\u0431\u0440\u0438\u0439 \u0434\u0435\u043d\u044c\r\n\u041f\u0440\u0438\u0432\u0456\u0442<\/pre>\n<p>\u041f\u0435\u0440\u0448\u0438\u0439 \u0432\u0438\u043a\u043b\u0438\u043a \u0444\u0443\u043d\u043a\u0446\u0456\u0457 <code>hello ('\u0414\u043e\u0431\u0440\u0438\u0439 \u0434\u0435\u043d\u044c')<\/code> \u0432\u0438\u0432\u0435\u0434\u0435: &#8220;<em>\u0414\u043e\u0431\u0440\u0438\u0439 \u0434\u0435\u043d\u044c<\/em>&#8220;, \u0434\u0440\u0443\u0433\u0438\u0439 \u0432\u0438\u043a\u043b\u0438\u043a \u0444\u0443\u043d\u043a\u0446\u0456\u0457 <code>hello()<\/code> \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0432\u0438\u0432\u0435\u0434\u0435:&#8221; <em>\u041f\u0440\u0438\u0432\u0456\u0442<\/em>&#8221; (\u0442\u043e\u043c\u0443 \u0449\u043e \u043c\u0438 \u0432\u043a\u0430\u0437\u0430\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0438\u0432\u0438\u043c\u043e\u0441\u044f \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0456\u044e: &lt;?php function hello($text) { echo $text; } hello(&#8216;\u041f\u0440\u0438\u0432\u0456\u0442&#8217;); ?&gt; \u0426\u044f \u0444\u0443\u043d\u043a\u0446\u0456\u044f \u0431\u0443\u0434\u0435 \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u0438 \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u0442\u0435\u043a\u0441\u0442, \u044f\u043a\u0438\u0439 \u0431\u0443\u0434\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0438\u0439 \u0457\u0439 \u0432 \u044f\u043a\u043e\u0441\u0442\u0456 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0443. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c &#8221; \u041f\u0440\u0438\u0432\u0456\u0442&#8220;: \u041f\u0440\u0438\u0432\u0456\u0442 \u0429\u043e \u0431\u0443\u0434\u0435, \u044f\u043a\u0449\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0443, \u0442\u043e\u0431\u0442\u043e, \u0449\u043e \u0431\u0443\u0434\u0435 \u044f\u043a\u0449\u043e \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u043e hello(): Warning: Missing argument 1 for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-606","post","type-post","status-publish","format-standard","hentry","category-funktsii"],"_links":{"self":[{"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts\/606","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=606"}],"version-history":[{"count":2,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts\/606\/revisions"}],"predecessor-version":[{"id":608,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/posts\/606\/revisions\/608"}],"wp:attachment":[{"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/media?parent=606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/categories?post=606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithub.oa.edu.ua\/webdev\/php\/wp-json\/wp\/v2\/tags?post=606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}