How to suppress the \"Division by zero\" error and set the result to null for the whole application? By saying \"for the whole application\", I mean it is n
What about using a ternary operator, like so:
$a = $c ? $b/$c : null;