PHP Classes

Bug: array count failing

Recommend this page to a friend!

      SimpleXML for PHP4  >  All threads  >  Bug: array count failing  >  (Un) Subscribe thread alerts  
Subject:Bug: array count failing
Summary:Bug: array count failing when value is 0 and the item count=1
Messages:4
Author:alexis rodriguez
Date:2009-05-21 16:30:37
Update:2010-09-06 20:17:43
 

  1. Bug: array count failing   Reply   Report abuse  
Picture of alexis rodriguez alexis rodriguez - 2009-05-21 16:30:37
Hi, i found a little bug in the class, when a node has “0″ value, the php “count” function return false. i made a diff with the changes, you can download it from http://rapidshare.com/files/235639508/simplexmlAlex.diff.tar.gz

It’s a great class, thumb up for you!

PS: Mr. Taha, I write down this to your blog first, sorry, I just wanted to help. but i found the disscussion a bit late...

  2. Re: Bug: array count failing   Reply   Report abuse  
Picture of Taha Paksu Taha Paksu - 2009-09-23 10:14:33 - In reply to message 1 from alexis rodriguez
Thanks Alex, I've done the revision of the plugin with your diff.

  3. Re: Bug: array count failing   Reply   Report abuse  
Picture of Marcio Luis Marcio Luis - 2010-09-06 20:10:14 - In reply to message 2 from Taha Paksu
hi Taha Paksu !!

where can I download a new version ??

help

att. Marcio

  4. Re: Bug: array count failing   Reply   Report abuse  
Picture of Marcio Luis Marcio Luis - 2010-09-06 20:17:43 - In reply to message 2 from Taha Paksu
where can I download a new version ??

att. Marcio