1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +01:00
Files
archived-php-src/ext/bcmath/bcmath.stub.php
Simon Podlipsky 4799b76f39 Add BCMath PHP stubs
Closes GH-4508.
2019-08-10 22:18:04 +02:00

23 lines
877 B
PHP

<?php
function bcadd(string $left_operand, string $right_operand, int $scale = UNKNOWN) : string {}
function bcsub(string $left_operand, string $right_operand, int $scale = UNKNOWN) : string {}
function bcmul(string $left_operand, string $right_operand, int $scale = UNKNOWN) : string {}
function bcdiv(string $dividend, string $divisor, int $scale = UNKNOWN) : ?string {}
function bcmod(string $dividend, string $divisor, int $scale = UNKNOWN) : ?string {}
/** @return string|false */
function bcpowmod(string $base, string $exponent, string $modulus, int $scale = UNKNOWN) {}
function bcpow(string $base, string $exponent, int $scale = UNKNOWN) : string {}
function bcsqrt(string $operand, int $scale = UNKNOWN) : ?string {}
function bccomp(string $left_operand, string $right_operand, int $scale = UNKNOWN) : int {}
function bcscale(int $scale = UNKNOWN) : int {}