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

Bug #3668 Undefined variable: 0 in Validate_ptBR::CNPJ()
Submitted: 2005-03-02 14:15 UTC
From: fabio at bs2 dot com dot br Assigned: dufuz
Status: Closed Package: Validate_ptBR
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    

 [2005-03-02 14:15 UTC] fabio at bs2 dot com dot br
Description: ------------ code in line 159 of the class Validate_ptBR is: $sum = $number[0]*5+$number[1]*4+$number[2]*3+$number[3]*2+ $number[4]*9+$number[5]*8+$number[6]*7+$number[7]*6+ $$number[8]*5+$number[9]*4+$number[10]*3+$number[11]*2; | this $ generating the error


 [2005-03-02 14:29 UTC] dufuz
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on In case this was a website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.