1--TEST-- 2bcpowmod() requires well-formed values 3--EXTENSIONS-- 4bcmath 5--FILE-- 6<?php 7 8try { 9 bcpowmod('a', '1', '1'); 10} catch (\ValueError $e) { 11 echo $e->getMessage() . PHP_EOL; 12} 13 14try { 15 bcpowmod('1', 'a', '1'); 16} catch (\ValueError $e) { 17 echo $e->getMessage() . PHP_EOL; 18} 19 20try { 21 bcpowmod('1', '1', 'a'); 22} catch (\ValueError $e) { 23 echo $e->getMessage() . PHP_EOL; 24} 25 26?> 27--EXPECT-- 28bcpowmod(): Argument #1 ($num) is not well-formed 29bcpowmod(): Argument #2 ($exponent) is not well-formed 30bcpowmod(): Argument #3 ($modulus) is not well-formed 31