ifelseif

    0

    5

    lucycodes42

    PHP recipes

    The if statement checks the condition and if true, the code inside the if block is executed. If the condition is not true, the code inside the elseif condition is executed. If the condition is still not true, the code inside the else block is executed.

    Shortcut: ifelseif

    if (cond) {
    } elseif(cond) {
    
    } else {
    
    }
    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.