php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-02-05 20:27 UTC] lalo at teligens dot com
Description:
------------
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

(this is fixed in PHP 5)


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jan 24 01:01:26 2020 UTC