PHP Package: phpseclib/bcmath_compat

Efficient PHP library for bcmath compatibility providing essential tools for numerical operations.

Current Version: 2.0.3
Last Updated: 2024-09-02
PHP Requirement: >=7.4
Dependencies:
phpseclib/phpseclib
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The bcmath_compat PHP library by phpseclib ensures smooth bcmath compatibility, offering a wide array of functions for precise numeric calculations. It extends support for basic mathematical functions, making it ideal for projects requiring high-precision computations and accurate results.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.0.3

Download Download v2.0.3

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/phpseclib/bcmath_compat/2.0.3/loader.php';
require_once 'libs/phpseclib/phpseclib/3.0.47/loader.php';

use phpseclib\bcmath_compat\BcMathCompat;

$obj = new BcMathCompat();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.