Boucle

Descrição

Mapa Mental sobre Boucle, criado por akiel42 em 05-06-2015.
akiel42
Mapa Mental por akiel42, atualizado more than 1 year ago
akiel42
Criado por akiel42 mais de 10 anos atrás
3
0

Resumo de Recurso

Boucle
  1. while

    Anotações:

    • <?php $texte = 0; while ($texte < 5) { echo '<p>je repète encore cette phrase ' . (5 - $texte) . ' fois</p>'; $texte++; } ?>
    1. erreur

      Anotações:

      • parenthèse après while
      1. tous types de boucle
      2. for

        Anotações:

        • <?php for ($texte = 0; $texte < 5; $texte++) { echo '<p>je repète encore cette phrase ' . (5 - $texte) . ' fois</p>'; } ?>
        1. erreur

          Anotações:

          • point virgule pour séparer les commandes de for
          1. quand on connaît le nombre de répétition
          2. incrémentation
            1. $variable++;

              Anotações:

              • equivaut à $variable = $variable + 1;

            Semelhante

            Test I. Introduction to web technologies
            Angel Martínez Rodriguez
            Evaluación de Programación (MYSQL y PHP)
            Mitchel Romero C
            OpenSource Programming
            Faheem Ahmed
            PHP Exam One
            tr.badhan
            PHP & MySQL
            hratg
            PHP intro
            Māris Ozoliņš
            Programming and Scripting Skills Needed
            neteng33
            Chapter 6: PHP
            Rebecca Walton
            Plugin Development
            Joshua Reeves