ifelseif

    0

    3

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

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.