ZF-3848: Implement "Countable" interface

Issue Type: Improvement Created: 2008-08-04T08:04:28.000+0000 Last Updated: 2009-09-18T15:16:25.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Jean-Marc Fontaine (jmf) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed

Related issues: Attachments: - patch.diff


The "Countable" should implemented so the following code would work :

<pre class="highlight">
$channel = new Zend_Feed_Rss('<a href=""></a>');
echo count($channel);


Posted by Jean-Marc Fontaine (jmf) on 2008-08-04T08:06:42.000+0000

This patch implements the "Countable" interface and contains the corresponding unit test.

Posted by Pádraic Brady (padraic) on 2009-09-18T15:16:24.000+0000

Added in r18292

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.