1--TEST--
2bcmod() - mod by 0
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9try {
10 bcmod("10", "0");
11} catch (DivisionByZeroError $ex) {
12 echo $ex->getMessage(), PHP_EOL;
13}
14?>
15--EXPECT--
16Modulo by zero
17