ZF-5225: problem in api documentation on Zend_Version::compareVersion on returned values

Issue Type: Docs: Problem Created: 2008-12-12T03:10:39.000+0000 Last Updated: 2011-09-04T13:12:33.000+0000 Status: Resolved Fix version(s): - 1.11.10 (04/Aug/11)

Reporter: Remy Damour (remy215) Assignee: Thomas Weidner (thomas) Tags: - Zend_Version

Related issues: Attachments: - Screenshot.png


In latest api documentation, there's an error on Zend_Version::compareVersion which states twice 'return 1' instead of 'return 0 and return 1'. Cf. screenshot.

It's strange because when looking at the code, documentation written in Zend/Version.php is correct, it's only api doc generated with phpDoc which looks like having this problem.

Cheers, Remy


Posted by Remy Damour (remy215) on 2008-12-12T03:11:15.000+0000

screenshot of bug

Posted by Wil Sinclair (wil) on 2009-01-19T07:54:49.000+0000

Alex, can you please look in to this?

Posted by Alexander Veremyev (alexander) on 2009-01-19T08:36:28.000+0000

It seems it's a problem with documentation build tool. Dockblock is correct, but '0' is interpreted as enumeration starting.

Posted by Thomas Weidner (thomas) on 2011-09-04T13:12:33.000+0000

Checked with latest build available online under This failure is no longer seen.

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.