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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lalo at teligens dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC