|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-15 14:37 UTC] cataphract@php.net
-Package: Unknown/Other Function
+Package: I18N and L10N related
[2011-04-18 14:53 UTC] david dot zuelke at bitextender dot com
[2011-04-18 18:34 UTC] johannes@php.net
-Status: Open
+Status: Duplicate
[2011-04-18 18:34 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 19:00:02 2025 UTC |
Description: ------------ A bundle named "supplementalData" can't be read by ResourceBundle. If the bundle is named "supplementaldata" instead, loading works. To reproduce, create a supplementalData.txt with this content: --- BEGIN --- supplementalData{ } --- END --- Then run genrb on the CLI: $ genrb supplementalData.txt which will generate a supplementalData.res needed by the test. genrb will output a warning, but you can ignore that for the purpose of this test. Test script: --------------- <?php $bundle = new \ResourceBundle('supplementalData', __DIR__); var_dump($bundle instanceof \ResourceBundle); Expected result: ---------------- bool(true) Actual result: -------------- bool(false)