|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66962 CLI ignores setlocale regarding number conversion
Submitted: 2014-03-26 19:07 UTC Modified: 2014-03-27 09:54 UTC
From: cpuidle at gmx dot de Assigned:
Status: Duplicate Package: CGI/CLI related
PHP Version: 5.5.10 OS: Win7 32bit
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.
Block user comment
Status: Assign to:
Bug Type:
From: cpuidle at gmx dot de
New email:
PHP Version: OS:


 [2014-03-26 19:07 UTC] cpuidle at gmx dot de
CLI ignores number formatting when locales are set

Gives in browser:
German_Germany.1252 3,1412592

Gives in CLI:
German_Germany.1252 3.1412592

Test script:
$p = 3.1412592;

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-03-27 09:54 UTC]
-Status: Open +Status: Duplicate
 [2014-03-27 09:54 UTC]
see bug #65230
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 10 22:03:36 2023 UTC