-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathcontrol-structures.xml
executable file
·79 lines (73 loc) · 3.03 KB
/
control-structures.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: ede9d209f64d4cd71bf22fcfaed14c6fc269523c Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Управляющие конструкции</title>
<sect1 xml:id="control-structures.intro">
<title>Введение</title>
<simpara>
Любой сценарий PHP состоит из последовательности инструкций. Инструкцией
может быть присваивание, вызов функции, повтор кода (цикл), сравнение,
или даже инструкция, которая ничего не делает (пустой оператор).
После инструкции обычно ставится точка с запятой. Кроме того,
инструкции могут быть объединены в блоки заключением их в фигурные скобки.
Блок инструкций также сам по себе является инструкцией.
В этом разделе описываются различные типы инструкций.
</simpara>
<sect2 role="seealso">
&reftitle.seealso;
<para>
Ниже также рассматриваются языковые конструкции, даже если они
упоминаются в функциях руководства.
</para>
<para>
<simplelist>
<member><function>list</function></member>
<member><function>array</function></member>
<member><function>echo</function></member>
<member><function>eval</function></member>
<member><function>print</function></member>
</simplelist>
</para>
</sect2>
</sect1>
&language.control-structures.if;
&language.control-structures.else;
&language.control-structures.elseif;
&language.control-structures.alternative-syntax;
&language.control-structures.while;
&language.control-structures.do-while;
&language.control-structures.for;
&language.control-structures.foreach;
&language.control-structures.break;
&language.control-structures.continue;
&language.control-structures.switch;
&language.control-structures.match;
&language.control-structures.declare;
&language.control-structures.return;
&language.control-structures.require;
&language.control-structures.include;
&language.control-structures.require-once;
&language.control-structures.include-once;
&language.control-structures.goto;
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->