From: [EMAIL PROTECTED]
Operating system: all
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: feature request
$a = 'foo';
$b = 'bar';
$c = (true) ? &$a : &$b;
=> syntax error, have to do
if (true) {
$c = &$a;
} else {
$c = &$b;
}
would be nice :)
--
Edit Bug report at: http://bugs.php.net/?id=10309&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]