1--TEST--
2bc_raisemod's expo can't be negative
3--CREDITS--
4Gabriel Caruso (carusogabriel34@gmail.com)
5--EXTENSIONS--
6bcmath
7--FILE--
8<?php
9try {
10    var_dump(bcpowmod('1', '-1', '2'));
11} catch (\ValueError $e) {
12    echo $e->getMessage() . \PHP_EOL;
13}
14?>
15--EXPECT--
16bcpowmod(): Argument #2 ($exponent) must be greater than or equal to 0
17