QC 3.2 rangelenght rule
| From: | Arnaud Limbourg | Date: | Thu, 06 Nov 2003 07:52:01 +0000 |
| Subject: | QC 3.2 rangelenght rule | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8804@lists.php.net to get a copy of this message | ||
Hi,
in QC 3.1 i was using
$this->addRule('handle', 'Invalid', 'rangelength', '4,12');
Now i have to use
$this->addRule('handle', 'Invalid', 'rangelength', array(4, 12));
Is this correct or was i doing it wrong in QC 3.1 ?
Arnaud.
ps: it might just help other people who upgrade but of course i may be the only one to blame :)