News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Reddit.com:
How and When do you use Bitwise?
April 06, 2012 @ 10:30:32

In this new question to Reddit, there's a question about the usage of bitwise operators - when they might come in useful.

As I get deeper into PHP I notice some lower level functionality that looks like it could be interesting, maybe even useful. I'm trying (other than switching the hex value of a color) to figure out when Bitwise operators might come in handy. Any real world examples?

Responses to the post mention a few cases they'd be useful in - handling permissions, route matching and error reporting. You can find out more about bitwise operators in PHP the PHP manual.

0 comments voice your opinion now!
bitwise usage opinion operator


blog comments powered by Disqus

Similar Posts

Ed Finkler's Blog: The MicroPHP Follow-up FAQ

Reddit.com: About to start learning my 1st MVC framework... What are your recommendations?

Mike Naberezny\'s Blog: pecl/operator and Other Neat Stuff

Yet Another Web Development Blog: A PHP Developer Spends a Week with Python

Scott Johnson's Blog: What's a PHP Programmer Worth?


Community Events





Don't see your event here?
Let us know!


community introduction opinion list testing interview developer experience language unittest threedevsandamaybe install podcast laravel release configure series framework refactor code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework