#25533 [Opn->Bgs]: or with strings is wrong

From: Date: Tue, 16 Sep 2003 15:45:54 +0000
Subject: #25533 [Opn->Bgs]: or with strings is wrong
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47643@lists.php.net to get a copy of this message
ID: 25533 Updated by: wez@php.net Reported By: spagmoid at yahoo dot com -Status: Open +Status: Bogus Bug Type: Strings related Operating System: WinXP PHP Version: 4.3.3 New Comment: We won't be changing this, because we don't see a need for performing bitwise logical operations on strings. If you feel so strongly about it, you are welcome to submit a patch to the developer list and see if enough people think it's worthwhile including in PHP. Please keep the status of this report as it is. Previous Comments: ------------------------------------------------------------------------ [2003-09-16 11:25:19] spagmoid at yahoo dot com Then why can you add strings with +? Why can you logically AND strings with &? Why can you multiply strings with *? Does consistency matter in the slightest to you people? ------------------------------------------------------------------------ [2003-09-16 11:19:48] wez@php.net You can't logically OR strings. Now, forget about it ;) ------------------------------------------------------------------------ [2003-09-16 11:00:47] spagmoid at yahoo dot com No. I want a 3rd opinion. ------------------------------------------------------------------------ [2003-09-16 09:48:42] sniper@php.net No. Now forget about it. ------------------------------------------------------------------------ [2003-09-15 23:15:50] spagmoid at yahoo dot com if $A+$B works, then $A|$B should work as well. '|' is not '.' ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25533 -- Edit this bug report at http://bugs.php.net/?id=25533&edit=1

« previous php.bugs (#47643) next »