#32706 [Opn->Bgs]: <> does not work
| From: | tony2001@php.net | Date: | Thu, 14 Apr 2005 17:48:54 +0000 |
| Subject: | #32706 [Opn->Bgs]: <> does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77541@lists.php.net to get a copy of this message | ||
ID: 32706
Updated by: tony2001@php.net
Reported By: dwd at polyserve dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: SuSE Linux Enterprise Server 9
PHP Version: 4.3.9
New Comment:
1) 4.3.9 is too old. Upgrade first.
2) Can't reproduce it.
3) What browser are you talking about? PHP is a server side language
and it's not supposed to be parsed by a "browser". If you see PHP code
in your browser, your server is just misconfigured.
Previous Comments:
------------------------------------------------------------------------
[2005-04-14 19:39:09] dwd at polyserve dot com
Description:
------------
Our index.php has some code at the top that uses the '<>' operator:
<?
...
if ($email <> "")
{
...
}
?>
This code was not being parsed correctly, and the web browser would
spit out the text following the <> operator as if it was content.
Changing the <> to != fixed the problem, but I'd like to know why, as
<> should be equivalent to != according to the documentation.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32706&edit=1