Bug #10309 Updated: feature request

From: Date: Wed, 20 Jun 2001 18:37:58 +0000
Subject: Bug #10309 Updated: feature request
Groups: php.dev 
Request: Send a blank email to php-dev+get-57446@lists.php.net to get a copy of this message
ID: 10309 User Update by: fabiankessler@usa.net Status: Closed Bug Type: Feature/Change Request Operating system: all PHP Version: 4.0.4 Description: feature request no, gives a syntax error also. PHP Version 4.0.7-dev (and 4.0.5) Previous Comments: --------------------------------------------------------------------------- [2001-06-17 04:45:51] jmoore@php.net try: $c =& (true)? $a: $b; might work better. Havnt tested it though. --------------------------------------------------------------------------- [2001-04-12 15:26:32] fabiankessler@usa.net $a = 'foo'; $b = 'bar'; $c = (true) ? &$a : &$b; => syntax error, have to do if (true) { $c = &$a; } else { $c = &$b; } would be nice :) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10309

« previous php.dev (#57446) next »