PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Internationalization » I18N » Bug #1147

Undefined variable and properties, Negotiator

Details

Submitted2004-04-06 12:21 UTC
Fromemmanuel at drouet-web dot com
Assignedmike
StatusClosed
PackageI18N
PHP Version5CVS-2004-04-06 (dev)
OSWindows
Roadmaps(Not assigned)

Comments

[2004-04-06 12:21 UTC] emmanuel at drouet-web dot com

Description:
------------
When executing test I18N_negotiator.php, 3 notices returns :
- undefine property _country line 173
- undefine property _lang_variation line 190
- undefine variable charsets line 206

should be define :
var $_country
var $_lang_variation

Script error when defining param for getCharsetMatch function at line 204. missing 'r' character for 'charsets'

Reproduce code:
---------------
I18N_negotiator.php example in docs package

[2004-04-06 13:00 UTC] emmanuel at drouet-web dot com

bug corrected in I18nv2