while

    0

    10

    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
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.