php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47074 phpinfo() reports "On" as 1 for the some extensions
Submitted: 2009-01-12 11:17 UTC Modified: 2020-06-04 09:27 UTC
From: RQuadling at GMail dot com Assigned: cmb (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 5.3CVS-2009-01-12 (CVS) OS: *
Private report: No CVE-ID: None
 [2009-01-12 11:17 UTC] RQuadling at GMail dot com
Description:
------------
Hi.

Most like just a cosmetic issue.

Many of extensions report "On" when the ini value is a boolean.

Some of the settings are reported as 1.

It would be nice, where appropriate, to have "On"/"Off" for booleans, 
rather than 1/0.

The modules I see as being affected by this are ...

com_dotnet
gd
soap
standard

Others may exist.




Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 20:44 UTC] jani@php.net
-Package: Feature/Change Request +Package: PHP options/info functions -Operating System: Windows XP Pro SP3 +Operating System: *
 [2020-06-04 07:21 UTC] cmb@php.net
The following pull request has been associated:

Patch Name: Implement #47074: phpinfo() reports "On" as 1 for the some extensions
On GitHub:  https://github.com/php/php-src/pull/5659
Patch:      https://github.com/php/php-src/pull/5659.patch
 [2020-06-04 07:21 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2020-06-04 09:27 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC