PHP Classes

count

Recommend this page to a friend!

      crXml  >  All threads  >  count  >  (Un) Subscribe thread alerts  
Subject:count
Summary:discrepencies
Messages:1
Author:jcmartini
Date:2013-09-20 16:19:52
 

  1. count   Reply   Report abuse  
Picture of jcmartini jcmartini - 2013-09-20 16:19:52
I tried to use the count function and I found 2 differents results:
1) $x->courses->count("course"). Result is 33 which is OK.
2) $x->courses->course->count(). Result is 49 which is NOT OK.
What is the difference ?