Exceptions - PHP Advance · <?php function divide($x, $y) { if($y == 0) { throw new Exception("Cannot divide by zero"); } return $x / $y; } · <?php function divide ...
確定! 回上一頁