Hi, Ahmed.

Yes, I already did it. But it seems to me this peculiarity of Zend_Config isn't good thing.

Ahmed Shreef wrote:
 Hi, I had this problem before. false is the value and in the same
 time it's what next() returns at the end of the array.

 in Zend/Config.php :

 public function next() { if (next($this->_data) === false) {
 $this->_iterationPointerValid = false; } else {
 $this->_iterationPointerValid = true; } }


 he is checking for the type. so if you are using 0 insted of false in
 the array, this will work.

 Best Regards, -- Ahmed Shreef Egypt


Reply via email to