📜  检查是否可分割的php代码示例

📅  最后修改于: 2022-03-11 14:54:49.377000             🧑  作者: Mango

代码示例1
if($number % 15 == 0)  {
    echo "BY3 AND 5";
} elseif ($number % 5 == 0) {
    echo "BY5";
} elseif ($number % 3 == 0) {
    echo "BY3";
}