|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27167 bcmath.scale value not reported by ini_get
Submitted: 2004-02-05 20:27 UTC Modified: 2004-02-06 09:30 UTC
From: lalo at teligens dot com Assigned:
Status: Wont fix Package: BC math related
PHP Version: 4.3.4 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: lalo at teligens dot com
New email:
PHP Version: OS:


 [2004-02-05 20:27 UTC] lalo at teligens dot com
The value of bcmath.scale reported in php.ini is not reported by ini_get().

Reproduce code:
echo ini_get('bcmath.scale');

Expected result:
The value defined in php.ini

Actual result:
Empty string.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-06 09:30 UTC]
In PHP 4 that option is not 'real' ini setting.
Workaround: Use get_cfg_var().

(this is fixed in PHP 5)

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 16:01:29 2024 UTC