note 115304 added to language.operators.bitwise

From: Date: Wed, 02 Jul 2014 18:52:04 +0000
Subject: note 115304 added to language.operators.bitwise
Groups: php.notes 
Request: Send a blank email to php-notes+get-199811@lists.php.net to get a copy of this message
@ivoras - actually, and as a curiosity, that's essentially correct (it's an artifact of the way ASCII is organized and of the way PHP handles bitwise operators on strings) - note that 0x18 & 0x32 = 0x10. The ASCII digit 'X' (for 0 to 9) is 0x3X, so ANDing two ASCII digits will yield the correct hex digit. ---- Server IP: 72.52.91.14 Probable Submitter: 85.136.1.100 ---- Manual Page -- http://php.net/manual/en/language.operators.bitwise.php Edit -- https://master.php.net/note/edit/115304 Del: integrated -- https://master.php.net/note/delete/115304/integrated Del: useless -- https://master.php.net/note/delete/115304/useless Del: bad code -- https://master.php.net/note/delete/115304/bad+code Del: spam -- https://master.php.net/note/delete/115304/spam Del: non-english -- https://master.php.net/note/delete/115304/non-english Del: in docs -- https://master.php.net/note/delete/115304/in+docs Del: other reasons-- https://master.php.net/note/delete/115304 Reject -- https://master.php.net/note/reject/115304 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199811) next »