ID: 35858 Updated by: [EMAIL PROTECTED] Reported By: mattias dot segerdahl at bitcom dot se -Status: Closed +Status: Bogus Bug Type: *General Issues Operating System: Mandriva latest PHP Version: 5.1.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . precedes ?: and thus the concattenation is done first. Previous Comments: ------------------------------------------------------------------------ [2005-12-31 13:36:30] mattias dot segerdahl at bitcom dot se Didn't see the concatination.. sorry for the bugreport ------------------------------------------------------------------------ [2005-12-31 13:33:19] mattias dot segerdahl at bitcom dot se Description: ------------ Echo without ternaries disregards some output Reproduce code: --------------- $true = true; echo "Is this true or false : " . $true?'true':'false'; Expected result: ---------------- Is this true or false : true Actual result: -------------- true ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35858&edit=1