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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Mon Dec 30 14:01:28 2024 UTC