#35109 [Opn->Bgs]: Expected if-clause result not performed

From: Date: Fri, 04 Nov 2005 21:58:06 +0000
Subject: #35109 [Opn->Bgs]: Expected if-clause result not performed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87596@lists.php.net to get a copy of this message
ID: 35109 Updated by: sniper@php.net Reported By: per at katrineholm dot org -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Linux PHP Version: 4.4.1 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. RTFM. Previous Comments: ------------------------------------------------------------------------ [2005-11-04 22:56:44] per at katrineholm dot org Description: ------------ Two if-clauses are not outputting the same result as they should. Reproduce code: --------------- <?php $a = "abc"; $b = "abcd"; /* Example 1: */ if ($a != $b) { echo "This one doesn't."; } /* Example 2: */ if (! $a == $b) { echo "This works fine."; } ?> Expected result: ---------------- Both example 1 and 2 outputs the written strings. Actual result: -------------- Only example 1 outputs the expected result. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35109&edit=1

« previous php.bugs (#87596) next »