Skip to content

Instantly share code, notes, and snippets.

@gsherwood
Created Jul 11, 2015
Embed
What would you like to do?
PHPCBF if/elseif/else test
<?php
if ($foo) {
echo 'foo';
} elseif ($bar) {
echo 'bar';
} else {
echo 'else';
}
<?php
if ($foo)
{
echo 'foo';
}
elseif ($bar)
{
echo 'bar';
}else{ echo 'else';}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment