note 97801 added to language.operators.bitwise

From: Date: Sun, 09 May 2010 13:32:45 +0000
Subject: note 97801 added to language.operators.bitwise
Groups: php.notes 
Request: Send a blank email to php-notes+get-169088@lists.php.net to get a copy of this message
Note to previous commenter, when you assign variables with special characters in them, use "single quotes" otherwise the contents will be evaulated. Also, if you expect to perform bitwise operations on ASCII characters, use "ord" to obtain the ordinal for the ASCII character, then bit shift that, and convert back into ASCII with "chr". For instance: $a = ord("!"); $a = $a << 4; $a = chr($a); ---- Server IP: 69.147.83.197 Probable Submitter: 97.123.30.210 ---- Manual Page -- http://www.php.net/manual/en/language.operators.bitwise.php Edit -- https://master.php.net/note/edit/97801 Del: integrated -- https://master.php.net/note/delete/97801/integrated Del: useless -- https://master.php.net/note/delete/97801/useless Del: bad code -- https://master.php.net/note/delete/97801/bad+code Del: spam -- https://master.php.net/note/delete/97801/spam Del: non-english -- https://master.php.net/note/delete/97801/non-english Del: in docs -- https://master.php.net/note/delete/97801/in+docs Del: other reasons-- https://master.php.net/note/delete/97801 Reject -- https://master.php.net/note/reject/97801 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169088) next »