while

    0

    14

    lucycodes42

    PHP recipes

    The code within the while loop will execute 10 times, as long as the variable remains between 0 and 9.

    Shortcut: whileend

    while ($variable <= 10):
      
    endwhile;
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.