ifelse

    0

    16

    lucycodes42

    PHP recipes

    The code if (cond) { } else { triggers if the condition is true. If it is, the code block is executed. If it is false, the code block is skipped.

    Shortcut: ifelse

    if (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.