2009年6月23日 星期二

{all}return


function is_15($i){
if($i == 15){
return 1 ;
}
return 0 ;//如果return 1 就會被忽略
echo 'this is not 15';//不管怎樣都會被忽略
}

return之後的任何動作將會忽略

沒有留言:

張貼留言