We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8e59bb commit bbc9134Copy full SHA for bbc9134
ext/bcmath/bcmath.c
@@ -485,7 +485,7 @@ PHP_FUNCTION(bcsqrt)
485
}
486
/* }}} */
487
488
-/* {{{ proto string bccomp(string left_operand, string right_operand [, int scale])
+/* {{{ proto int bccomp(string left_operand, string right_operand [, int scale])
489
Compares two arbitrary precision numbers */
490
PHP_FUNCTION(bccomp)
491
{
@@ -527,7 +527,7 @@ PHP_FUNCTION(bccomp)
527
528
529
530
-/* {{{ proto string bcscale(int scale)
+/* {{{ proto bool bcscale(int scale)
531
Sets default scale parameter for all bc math functions */
532
PHP_FUNCTION(bcscale)
533
0 commit comments