Skip to content

Actual control structures #7

Closed
Closed
@guregu

Description

@guregu

In elephant PHP, you can do this:

<? if ($foo) { ?>
<b>it's true</b>
<? } else { ?>
nope
<? } ?>

This is very useful for looping and stuff. I'd like to add this but I'm not sure what the best syntax would be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions