{"id":432,"date":"2024-02-26T19:12:51","date_gmt":"2024-02-26T19:12:51","guid":{"rendered":"https:\/\/blog.hostinger.io\/uk\/support\/2024\/02\/26\/1583196-%d1%8f%d0%ba-%d0%b2%d0%b8%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d0%b8-%d0%bf%d0%be%d0%bc%d0%b8%d0%bb%d0%ba%d1%83-unexpected-t_string-%d0%bd%d0%b0-hostinger\/"},"modified":"2025-08-26T18:51:16","modified_gmt":"2025-08-26T18:51:16","slug":"1583196-%d1%8f%d0%ba-%d0%b2%d0%b8%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d0%b8-%d0%bf%d0%be%d0%bc%d0%b8%d0%bb%d0%ba%d1%83-unexpected-t_string-%d0%bd%d0%b0-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/ua\/support\/1583196-%d1%8f%d0%ba-%d0%b2%d0%b8%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d0%b8-%d0%bf%d0%be%d0%bc%d0%b8%d0%bb%d0%ba%d1%83-unexpected-t_string-%d0%bd%d0%b0-hostinger\/","title":{"rendered":"\u042f\u043a \u0412\u0438\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u041f\u043e\u043c\u0438\u043b\u043a\u0443 &#8220;Unexpected T_STRING&#8221; \u043d\u0430 Hostinger"},"content":{"rendered":"<p class=\"no-margin\">&#1062;&#1077;&#1081; &#1090;&#1080;&#1087; &#1089;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1095;&#1085;&#1086;&#1111; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1080;, &#1103;&#1082;&#1080;&#1081; &#1079;&#1072;&#1079;&#1074;&#1080;&#1095;&#1072;&#1081; &#1090;&#1088;&#1072;&#1087;&#1083;&#1103;&#1108;&#1090;&#1100;&#1089;&#1103; &#1095;&#1077;&#1088;&#1077;&#1079; &#1076;&#1088;&#1091;&#1082;&#1072;&#1088;&#1089;&#1100;&#1082;&#1091; <b>&#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091; &#1091; &#1082;&#1086;&#1076;&#1110;<\/b>, &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, &#1087;&#1088;&#1086;&#1087;&#1091;&#1097;&#1077;&#1085;&#1080;&#1081; &#1072;&#1087;&#1086;&#1089;&#1090;&#1088;&#1086;&#1092;, &#1083;&#1072;&#1087;&#1082;&#1080;, &#1087;&#1088;&#1086;&#1087;&#1091;&#1097;&#1077;&#1085;&#1080;&#1081; &#1072;&#1073;&#1086; &#1079;&#1072;&#1081;&#1074;&#1080;&#1081; &#1087;&#1088;&#1086;&#1073;&#1110;&#1083; &#1095;&#1080; &#1085;&#1077;&#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1100;&#1085;&#1086; &#1079;&#1072;&#1082;&#1086;&#1084;&#1077;&#1085;&#1090;&#1086;&#1074;&#1072;&#1085;&#1080;&#1081; &#1082;&#1086;&#1076;.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">&#1055;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091; &#1084;&#1110;&#1089;&#1090;&#1080;&#1090;&#1080;&#1084;&#1077; &#1082;&#1086;&#1088;&#1080;&#1089;&#1085;&#1091; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1102;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, &#1085;&#1072;&#1079;&#1074;&#1072; &#1092;&#1072;&#1081;&#1083;&#1091; &#1090;&#1072; &#1088;&#1103;&#1076;&#1086;&#1082;, &#1076;&#1077; &#1074;&#1086;&#1085;&#1072; &#1074;&#1080;&#1085;&#1080;&#1082;&#1083;&#1072;. &#1065;&#1086;&#1073; &#1074;&#1080;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090;&#1080; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091;, &#1074;&#1110;&#1076;&#1082;&#1088;&#1080;&#1081;&#1090;&#1077; &#1092;&#1072;&#1081;&#1083; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; <b><a href=\"https:\/\/support.hostinger.com\/en\/articles\/7949267-how-to-use-the-file-editor-at-hostinger\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">&#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;&#1072; &#1092;&#1072;&#1081;&#1083;&#1110;&#1074;<\/a><\/b>, &#1087;&#1077;&#1088;&#1077;&#1081;&#1076;&#1110;&#1090;&#1100; &#1076;&#1086; &#1088;&#1103;&#1076;&#1082;&#1072;, &#1079;&#1075;&#1072;&#1076;&#1072;&#1085;&#1086;&#1075;&#1086; &#1091; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1110; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091;, &#1110; &#1074;&#1110;&#1076;&#1088;&#1077;&#1076;&#1072;&#1075;&#1091;&#1081;&#1090;&#1077; &#1081;&#1086;&#1075;&#1086; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1085;&#1086; &#1076;&#1086; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, &#1076;&#1086;&#1076;&#1072;&#1081;&#1090;&#1077; &#1073;&#1091;&#1076;&#1100;-&#1103;&#1082;&#1080;&#1081; &#1074;&#1110;&#1076;&#1089;&#1091;&#1090;&#1085;&#1110;&#1081; &#1089;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1095;&#1085;&#1080;&#1081; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;.<\/p><p class=\"no-margin\">\n<\/p><h1 id=\"h_d3b91b69c7\">&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;<\/h1><p class=\"no-margin\">&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091;:<\/p><pre><code>Parse error: syntax error, unexpected '&lt;', <br>expecting end of file in \/home\/u123456789\/public_html\/test.php <br>on line 7<\/code><\/pre><p class=\"no-margin\">&#1047; &#1094;&#1100;&#1086;&#1075;&#1086; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1079;&#1088;&#1086;&#1079;&#1091;&#1084;&#1110;&#1083;&#1086;, &#1097;&#1086;: <\/p><ul>\n<li>\n<p class=\"no-margin\">&#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; &#1089;&#1090;&#1072;&#1083;&#1072;&#1089;&#1103; &#1091; &#1092;&#1072;&#1081;&#1083;&#1110;<b> test.php<\/b>, &#1088;&#1086;&#1079;&#1090;&#1072;&#1096;&#1086;&#1074;&#1072;&#1085;&#1086;&#1084;&#1091; &#1074; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1079;&#1110; <b>public_html<\/b> &ndash; &#1094;&#1077; &#1092;&#1072;&#1081;&#1083;, &#1103;&#1082;&#1080;&#1081; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1086; &#1074;&#1110;&#1076;&#1088;&#1077;&#1076;&#1072;&#1075;&#1091;&#1074;&#1072;&#1090;&#1080;, &#1072; &#1090;&#1072;&#1082;&#1086;&#1078; &#1081;&#1086;&#1075;&#1086; &#1088;&#1086;&#1079;&#1090;&#1072;&#1096;&#1091;&#1074;&#1072;&#1085;&#1085;&#1103;;<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">&#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; &#1089;&#1090;&#1072;&#1083;&#1072;&#1089;&#1103; &#1074; <b>7-&#1084;&#1091; &#1088;&#1103;&#1076;&#1082;&#1091;<\/b> &#1092;&#1072;&#1081;&#1083;&#1091;. &#1059; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;&#1110; &#1092;&#1072;&#1081;&#1083;&#1110;&#1074; &#1090;&#1072;&#1082;&#1086;&#1078; &#1079;&rsquo;&#1103;&#1074;&#1080;&#1090;&#1100;&#1089;&#1103; &#1079;&#1085;&#1072;&#1082; &#10060; &#1110; &#1090;&#1072;&#1082;&#1077; &#1078; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091;, &#1103;&#1082;&#1097;&#1086; &#1085;&#1072;&#1074;&#1077;&#1089;&#1090;&#1080; &#1085;&#1072; &#1085;&#1100;&#1086;&#1075;&#1086; &#1082;&#1091;&#1088;&#1089;&#1086;&#1088;:<\/p>\n<\/li>\n<\/ul><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/ua\/support\/wp-content\/uploads\/sites\/61\/2024\/02\/d7ffa2db-ce32-4f84-a17e-1dae3b93a000.png\" alt=\"A syntax error detected on File Editor including the line and description\"><\/div><p class=\"no-margin\">&#1059; &#1094;&#1100;&#1086;&#1084;&#1091; &#1092;&#1072;&#1081;&#1083;&#1110; PHP-&#1082;&#1086;&#1076; &#1073;&#1091;&#1083;&#1086; &#1074;&#1110;&#1076;&#1082;&#1088;&#1080;&#1090;&#1086; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; <b>&lt;?<\/b>, &#1072;&#1083;&#1077; &#1085;&#1077; &#1079;&#1072;&#1082;&#1088;&#1080;&#1090;&#1086;, &#1090;&#1086;&#1084;&#1091; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083; <b>?&gt; <\/b>&#1087;&#1088;&#1086;&#1087;&#1091;&#1097;&#1077;&#1085;&#1086;.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">&#1054;&#1089;&#1100; &#1095;&#1086;&#1084;&#1091; &#1089;&#1080;&#1084;&#1074;&#1086;&#1083; <b>&lt;<\/b> &#1074; &#1085;&#1072;&#1089;&#1090;&#1091;&#1087;&#1085;&#1086;&#1084;&#1091; &#1088;&#1103;&#1076;&#1082;&#1091; &#1085;&#1077;&#1086;&#1095;&#1110;&#1082;&#1091;&#1074;&#1072;&#1085;&#1080;&#1081;. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">&#1055;&#1110;&#1089;&#1083;&#1103; &#1090;&#1086;&#1075;&#1086;, &#1103;&#1082; &#1042;&#1080; &#1076;&#1086;&#1076;&#1072;&#1089;&#1090;&#1077; &#1087;&#1088;&#1086;&#1087;&#1091;&#1097;&#1077;&#1085;&#1080;&#1081; &#1082;&#1086;&#1076;, &#1042;&#1072;&#1096; &#1092;&#1072;&#1081;&#1083; &#1084;&#1072;&#1108; &#1087;&#1088;&#1072;&#1094;&#1102;&#1074;&#1072;&#1090;&#1080;:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/ua\/support\/wp-content\/uploads\/sites\/61\/2024\/02\/862f4b84-d065-462a-8eca-925dd9045d95.png\" alt=\"The file from the example displaying properly on a browser after fixing the syntax error\"><\/div><p class=\"no-margin\">&#1071;&#1082;&#1097;&#1086; &#1091; &#1042;&#1072;&#1089; &#1074;&#1080;&#1085;&#1080;&#1082;&#1083;&#1080; &#1090;&#1088;&#1091;&#1076;&#1085;&#1086;&#1097;&#1110; &#1079; &#1074;&#1080;&#1087;&#1088;&#1072;&#1074;&#1083;&#1077;&#1085;&#1085;&#1103;&#1084; &#1089;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1095;&#1085;&#1080;&#1093; &#1087;&#1086;&#1084;&#1080;&#1083;&#1086;&#1082;, &#1042;&#1080; &#1084;&#1086;&#1078;&#1077;&#1090;&#1077; <b><a href=\"\/ua\/support\/4283700-%D1%8F%D0%BA-%D0%B2%D1%96%D0%B4%D0%BD%D0%BE%D0%B2%D0%B8%D1%82%D0%B8-%D1%80%D0%B5%D0%B7%D0%B5%D1%80%D0%B2%D0%BD%D1%96-%D0%BA%D0%BE%D0%BF%D1%96%D1%97-%D0%B2-hostinger\" target=\"_blank\" class=\"intercom-content-link\">&#1074;&#1110;&#1076;&#1085;&#1086;&#1074;&#1080;&#1090;&#1080; &#1089;&#1072;&#1081;&#1090;<\/a><\/b> &#1076;&#1086; &#1087;&#1086;&#1087;&#1077;&#1088;&#1077;&#1076;&#1085;&#1100;&#1086;&#1075;&#1086; &#1088;&#1086;&#1073;&#1086;&#1095;&#1086;&#1075;&#1086; &#1089;&#1090;&#1072;&#1085;&#1091;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u043e\u043c\u0438\u043b\u043a\u0438 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0443 &#8220;Unexpected T_STRING&#8221;<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[202],"tags":[],"class_list":["post-432","post","type-post","status-publish","format-standard","hentry","category-202"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583196-how-to-fix-the-unexpected-t_string-error-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583196-como-solucionar-el-error-unexpected-t_string-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583196-comment-corriger-une-erreur-unexpected-t_string\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583196-bagaimana-cara-mengatasi-error-unexpected-t_string-di-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583196----unexpected-t_string--hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":616,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/432\/revisions\/616"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}