问题集锦 ~ PHP
#switch
//当variable为数字0的时候,case为true,会执行第一段case代
switch (variable) { case 'value': # code... break; default: # code... break; }
//当variable为数字0的时候,case为true,会执行第一段case代
switch (variable) { case 'value': # code... break; default: # code... break; }