ID: 9983 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Please read this manual page: http://www.php.net/manual/en/language.operators.precedence.php --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-26 00:17:05] [EMAIL PROTECTED] 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9983&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]