PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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