ID: 10309 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request Operating system: PHP Version: 4.0.4 Assigned To: Comments: try: $c =& (true)? $a: $b; might work better. Havnt tested it though. Previous Comments: --------------------------------------------------------------------------- [2001-04-12 15:26:32] [EMAIL PROTECTED] $a = 'foo'; $b = 'bar'; $c = (true) ? &$a : &$b; => syntax error, have to do if (true) { $c = &$a; } else { $c = &$b; } would be nice :) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10309&edit=2 -- 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]