Date: 10/01/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6969 Updated: operator / assignment presidence"
- Previous message: todd <email protected>: "[PHP-DEV] PHP 4.0 Bug #6968: Not receiving values from URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: shmengie_2000 <email protected>
Operating system: linux
PHP version: 4.0.2
PHP Bug Type: *General Issues
Bug description: operator / assignment presidence
This cought me off guard perhaps a bug:
The && operator takes presidence over the assignment operator = but the 'and' operator does not.
while($row=dbFetch($cursor) && $i < 20)
$row=(dbFetch($cursor) && i)
where
while($row=dbFetch($cursor) and $i < 20)
$row=(dbFetch($cursor))
-- 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 #6969 Updated: operator / assignment presidence"
- Previous message: todd <email protected>: "[PHP-DEV] PHP 4.0 Bug #6968: Not receiving values from URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

