Files
doc-fr/language/control-structures.xml
Damien Seguy c7ebcb17cc sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@273111 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-08 20:42:26 +00:00

65 lines
2.1 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.103 $ -->
<!-- EN-Revision: 1.175 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Les structures de contrôle</title>
<sect1 xml:id="control-structures.intro">
<title>Introduction</title>
<simpara>
Tous les scripts PHP sont une suite d'instructions. Une instruction
peut être une assignation, un appel de fonction, une instruction
conditionnelle ou bien une instruction qui ne fait rien (une instruction
vide). Une instruction se termine habituellement par un point virgule
("<literal>;</literal>"). De plus, plusieurs instructions peuvent être
regroupées en bloc, délimité par des
accolades ("<literal>{}</literal>"). Un bloc est considéré
comme une instruction. Les différents types d'instructions sont
décrits dans ce chapitre.
</simpara>
</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.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:"../../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
-->