Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (31 sloc) 311 Bytes
<?php
/*
Plugin Name: Klammern
*/
// Nicht empfohlen:
if( $c1 )
{
action1();
}
elseif( $c2 )
{
action2();
}
elseif( $c3 )
{
action3();
}
else
{
action4();
}
// Empfohlen:
if ( $c1 ){
action1();
} elseif ( $c2 ) {
action2();
} elseif ( $c3 ) {
action3();
} else {
action4();
} // End of condition check