mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
15 lines
284 B
PHP
15 lines
284 B
PHP
--TEST--
|
|
Bug #54598 (bcpowmod() may return 1 if modulus is 1)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(bcpowmod(5, 0, 1));
|
|
var_dump(bcpowmod(5, 0, 1, 3));
|
|
?>
|
|
--EXPECT--
|
|
string(1) "0"
|
|
string(5) "0.000"
|