ZF-10556: Zend_Validate_Iban(array('locale' => false)) does not function see description for solution
Description
IMHO to solve the problem you souhould change the line 125 in Iban.php FROM: if (empty($locale)) { TO: if (empty($locale) && $locale != false) {
greetings Michael
Comments
Posted by Thomas Weidner (thomas) on 2011-08-25T21:35:11.000+0000
Fixed in ZF2 with GH-316
Posted by Chl (chl) on 2012-10-01T16:32:23.000+0000
Hello,
sorry to wake this bug up, but this hasn't made to the 1.12 release. It still isn't possible to validate an IBAN without restriction to a country like the doc says : http://zendframework.com/manual/1.12/…
Could it be backported to 1.11 and 1.12 ?
Here is a code test it with php-cli :
Launch it with :
NB : got a stacktrace with...
...which appears legal, no ?