分類 意味 C/C++ C++ PHP Perl JavaScript HTML
ステートメント statement centence; | statements ←C ←C ←C
centence centence; ←C ←C ←C
ブロック statements {centence;[centence;..]} ←C ?> html <?php ←C ←C
条件代入 distnation=condition?true_value:false_value; ←C ←C ←C
条件 0==false, 0!=true ←C ←C ←C
条件判定分岐 if(expression){
    ...;
}
←C
<?php if(expression):?>
    html
<?php endif;?> 
←C
unless(){
    ...;
};
←C
if(expression){
    ...;
}else{
    ...;
}
←C
if(expression):
    ...;
else:
    ...;
endif;
←C ←C
連続条件判定分岐 if(expression){
    ...;
}else if(expression){
    ...;
} else {
    ...;
}
←C
if():
    ...;
elseif():
    ...;
else: endif;
if(){
    ...;
}elseif(){
    ...;
}
←C
switch switch(value){
    case match
        ...;
        break;

    default:
          ...;
}
←C
switch():
    ...;
endswitch;
ループ for for(set[,set2[,,]];expression;calc[,calc[,,]]){
}
←C for(;;): endfor; ←C
while while(expression){} ←C while(): endwhile: while(){} until(){} ←C
do{}while(expression) ←C do{}while; do{}until();
each foreach(list_value as value){
}
foreach(list_value as value):
endfoeach;
foreach value (list_value){
}
for(value in list_value){
}
分岐 jump goto goto label;
escape break; break; last; ←C
next next; next; next;, redo; continue;
after operation while(expression){}continue{}
リターン return value; return value;
ラベル label: ←C
特殊 trace declare(ticks=n){}
base with object_list;