ZF-12376: GreaterThan wrong example

Issue Type: Docs: Problem Created: 2012-08-18T16:58:52.000+0000 Last Updated: 2012-08-24T09:54:11.000+0000 Status: Closed Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: fgibaux (fgibaux) Assignee: Frank Brückner (frosch) Tags: - Zend_Validate

  • FixForZF1.12

Related issues: Attachments: - de.Zend_Validate-GreaterThan.xml.patch


the example said that validator returns TRUE for all values which are equal to 10 or greater than 10.

In fact, it returns true ONLY if greater than 10.

<pre class="highlight">
if ($this->_min >= $value) {
    return false;


Posted by Frank Brückner (frosch) on 2012-08-24T08:18:44.000+0000

Patches for English and German added.

Posted by Rob Allen (rob) on 2012-08-24T09:51:51.000+0000

Fixed on trunk in svn r25043 and svn r25044 in release-1.12.

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.