[PHP-NOTES] note 130346 added to language.operators.logical

[email protected] ("Anonymous")
Newsgroups php.notes
Message-ID <[email protected]>
why is there no xnor?

> if ($a xnor $b)

currently you have to do xor negation, which looks ugly:

> if (!($a xor $b))
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 158.255.89.114)
----
Manual Page -- https://php.net/manual/en/language.operators.logical.php
Edit        -- https://main.php.net/note/edit/130346
Del: integrated  -- https://main.php.net/note/delete/130346/integrated
Del: useless     -- https://main.php.net/note/delete/130346/useless
Del: bad code    -- https://main.php.net/note/delete/130346/bad+code
Del: spam        -- https://main.php.net/note/delete/130346/spam
Del: non-english -- https://main.php.net/note/delete/130346/non-english
Del: in docs     -- https://main.php.net/note/delete/130346/in+docs
Del: other reasons-- https://main.php.net/note/delete/130346
Reject      -- https://main.php.net/note/reject/130346
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.