#37796 [Com]: t_is_not_identical for <> ?
| From: | admin at ifyouwantblood dot de | Date: | Sat, 26 Jan 2008 16:36:12 +0000 |
| Subject: | #37796 [Com]: t_is_not_identical for <> ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121575@lists.php.net to get a copy of this message | ||
ID: 37796
Comment by: admin at ifyouwantblood dot de
Reported By: nics at mail dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 6CVS-2006-06-13 (snap)
New Comment:
<=> would look nicer ;-).... still i think <> can be removed, its just
an overhead with no real use.
Previous Comments:
------------------------------------------------------------------------
[2006-06-13 20:39:47] nics at mail dot com
Description:
------------
Just my ideas for the equivalent of <>.
I noticed that it did not have for operator <> with the type
comparison.
File: ZendEngine2/zend_language_scanner.l
- <ST_IN_SCRIPTING>"!==" {
+ <ST_IN_SCRIPTING>"!=="|"<>=" {
return T_IS_NOT_IDENTICAL;
}
Actual result:
--------------
!= and <>
!== don't have equivalent with "<>"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37796&edit=1