php-developer-list | 2000111
Date: 11/15/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7820 Updated: xmlFreeURI not found"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] CVS Account Request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: heang.cheng <email protected>
Operating system: LinuxPPC 2000
PHP version: 4.0.3pl1
PHP Bug Type: Class/Object related
Bug description: For Loop seems to mis-behave when using classes
$fetchwireline = new GetWireline;
$fetchwireline->GetWireline($custnumber);
$cbophone = new Selectwireline;
$cbophone->Wireline($fetchwireline->getsql());
// NEXT THREE LINES DOES NOT WORK
for($lineno=1; $lineno <= 2; $lineno++){
$cbophone->Build(cbowireline.$lineno, $cbowireline.$lineno);
}
// NEXT TWO LINES DOES WORK IN PLACE OF ABOVE THREE LINES
//$cbophone->Build(cbowireline1, $cbowireline1);
//$cbophone->Build(cbowireline2, $cbowireline2);
-- Edit Bug report at: http://bugs.php.net/?id=7824&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7820 Updated: xmlFreeURI not found"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] CVS Account Request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

