Date: 10/28/00
- Next message: Manuel Lemos: "Re: [PHP-DEV] Generic database interface"
- Previous message: jah <email protected>: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: wico <email protected>
Operating system: linux
PHP version: 4.0 Latest CVS (28/10/2000)
PHP Bug Type: Scripting Engine problem
Bug description: unset not allowed in ?-if or an or
Strange parser thingy:
// this is allowed
if ($skip_name) {
unset($data[id], $data[name]);
} else {
unset($data[id]);
}
// this gives parse error:
$skip_name ? unset($data[id]) : unset($data[id], $data[name]);
$plop OR unset($plop) also makes parser unhappy
-- Edit Bug report at: http://bugs.php.net/?id=7513&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: Manuel Lemos: "Re: [PHP-DEV] Generic database interface"
- Previous message: jah <email protected>: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

