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 :)
Hi fabiankessler!
On Thu, 12 Apr 2001, [EMAIL PROTECTED] wrote:
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;
suggestions: