PHP 4.0 Bug #9983: String concatination
| From: | yohgaki at dd dot iij4u dot or dot jp | Date: | Mon, 26 Mar 2001 05:17:05 +0000 |
| Subject: | PHP 4.0 Bug #9983: String concatination | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49923@lists.php.net to get a copy of this message | ||
From: yohgaki@dd.iij4u.or.jp
Operating system: Linux/W2K
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: String concatination
Following code, needs "()" to get expected value.
$bar = true;
$str = "TEST". ($bar ? 'true' : 'false') ."TEST";
Without "(" and ")", only "true" will be in $str.
(PHP4.0.4pl1/Apache DSO/Linux, PHP4.0.5RC1/Apache DSO/W2K Server)
If this is expected behavior in PHP, it would better to be described in the Manual.
--
Edit Bug report at: http://bugs.php.net/?id=9983&edit=1