php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25819 Several test cases fail in setlocale()
Submitted: 2003-10-10 06:38 UTC Modified: 2006-08-27 15:11 UTC
From: svs at ropnet dot ru Assigned: bjori (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 4.3.3 OS: FreeBSD 4.8
Private report: No CVE-ID: None
 [2003-10-10 06:38 UTC] svs at ropnet dot ru
Description:
------------
These tests should try harder to set locale; e.g. de_DE.ISO8859-1 before de_DE, ru_RU.KOI8-R before ru_RU.koi8r...


Reproduce code:
---------------
$TEST_PHP_EXECUTABLE run-tests.php tests/lang/034.phpt ext/standard/tests/strings/htmlentities15.phpt ext/xml/tests/xml007.phpt


Expected result:
----------------
PASS Locale settings affecting float parsing [tests/lang/034.phpt]
PASS htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt]
PASS xml_parse_into_struct/umlauts in tags [ext/xml/tests/xml007.phpt]


Actual result:
--------------
SKIP Locale settings affecting float parsing [tests/lang/034.phpt]
SKIP htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt] (reason: setlocale() failed)
SKIP xml_parse_into_struct/umlauts in tags [ext/xml/tests/xml007.phpt] (reason: strtoupper on non-ascii not supported on this platform)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-10 08:49 UTC] svs at ropnet dot ru
php4-STABLE-200310100930: no change.
 [2006-08-27 15:11 UTC] bjori@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 05 17:01:34 2025 UTC