1--TEST-- 2bc_raisemod's mod can't be zero 3--CREDITS-- 4Gabriel Caruso (carusogabriel34@gmail.com) 5--EXTENSIONS-- 6bcmath 7--FILE-- 8<?php 9try { 10 var_dump(bcpowmod('1', '1', '0')); 11} catch (DivisionByZeroError $ex) { 12 echo $ex->getMessage(), PHP_EOL; 13} 14?> 15--EXPECT-- 16Modulo by zero 17