Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.11.4

Bug #6627 PHP Warning: array_walk()
Submitted: 2006-01-30 10:44 UTC
From: tobiaslohr at gmx dot de Assigned:
Status: Bogus Package: I18Nv2
PHP Version: 4.3.10 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 + 15 = ?

 
 [2006-01-30 10:44 UTC] tobiaslohr at gmx dot de
Description: ------------ When calling I18Nv2_Country::getAllCodes() you'll get the following warning: Warning: array_walk(): The argument should be an array in .../I18Nv2/CommonList.php on line 198 Test script: --------------- require_once 'I18Nv2/Country.php'; $countries = I18Nv2_Country::getAllCodes(); print_r($countries); Expected result: ---------------- An array of all country codes Actual result: -------------- Warning: array_walk(): The argument should be an array in .../I18Nv2/CommonList.php on line 198 Array()

Comments

 [2006-01-30 11:57 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-01-30 12:35 UTC] tobiaslohr at gmx dot de
Closed due to the misunderstood synopsis of the method I18Nv2_Country::getAllCodes() documented here: http://pear.php.net/manual/en/package.internationalization.i18nv2.i18nv2-country.getallcodes.php
 [2006-01-30 14:29 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!