Re: [PHP3] A shl()/shr() function? From: Rich Clingman (inlan <email protected>)
Date: 09/30/98

Thanks! I knew it was too simple.

Now another question:

How can I take a string of characters and turn them into a 4-byte integer
(eg: "ABCD"--> 41424344x) so I can manipulate it bitwise?

Rich Clingman
inlan <email protected>

-----Original Message-----
From: Brian Schaffner <BSchaffner <email protected>>

>those functions are deprecated - use the new bit-shift operators: <<
>(left shift) and >> (right shift):

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3