[PHP-DEV] Bug #10309: feature request

2001-04-12 Thread fabiankessler
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 :)

Re: [PHP-DEV] Bug #10309: feature request

2001-04-12 Thread teo
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: