[PHP-DEV] Bug #12735: Shorthand for X ? X : Y

2001-08-14 Thread david
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Shorthand for X ? X : Y Providing default values for fields, I find myself using the following syntax a lot: $a = $result-f('asd'); if (!$a) $a =

Re: [PHP-DEV] Bug #12735: Shorthand for X ? X : Y

2001-08-14 Thread teo
Hi david! On Tue, 14 Aug 2001, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Shorthand for X ? X : Y Providing default values for fields, I find myself using the following