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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 - 41 = ?
Subscribe to this entry?

 
 [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: Thu Mar 28 17:01:29 2024 UTC