Doc #9786 [NEW]: Missing a {

From: Date: Tue, 09 Jan 2007 16:27:41 +0000
Subject: Doc #9786 [NEW]: Missing a {
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9262@lists.php.net to get a copy of this message
From: o at homedev dot org Operating system: Linux Package version: PHP version: 5.1.0 Package: Documentation Bug Type: Documentation Problem Bug description: Missing a { Description: ------------ there is an error in the doc at the bottom. <?php $person = new DataObjects_Person; $person->whereAdd('age > 12'); $person->whereAdd('age < 30'); $person->find(); while ($person->fetch()) { echo "$person->id} {$person->name}<BR>"; } $person = new DataObjects_Person; $person->whereAdd('age < 12'); $person->whereAdd('age > 30', 'OR'); $person->find(); while ($person->fetch()) { echo "$person->id} {$person->name}<BR>"; } Test script: --------------- If should be while ($person->fetch()) { echo "{$person->id} {$person->name}<BR>"; } NOTE the Extra { before {$person -- Edit bug report at http://pear.php.net/bugs/bug.php?id=9786&edit=1 --

« previous php.pear.doc (#9262) next »