News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Math & Number Handling in PHP - The ABCs of PHP Part 6
April 22, 2009 @ 07:57:17

On today they've posted the next article in their "ABCs of PHP" series. This time they focus on math and number handling.

Last time we looked at text and strings in variables, in this episode we're going to continue with our exploration of PHP variables and delve deeper into math and number handling in PHP. Using numbers is not much different to using text and strings, you allocate variables and fill them in, using exactly the same techniques as you do using strings & text.

They covers some of the basic operators (+,-,*,etc), evaluation with equals, number shifting, binary and creating a "barrel shifter" to work with the binary bits of a number.

0 comments voice your opinion now!
shifter barrel binary introduction abc handling number math

blog comments powered by Disqus

Similar Posts

Allan MacGregor: Playing with dependency injection in PHP A beginners introduction to PHP\'s file functions Using Satis for fast and reliable software deployment

Kenny Meyers' Blog: How CodeIgniter Works (Video from EECI 2010) File Uploads with PHP

Community Events

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

language api library list series application framework project community interview release bugfix wordpress threedevsandamaybe introduction configure podcast code developer laravel

All content copyright, 2014 :: - Powered by the Solar PHP Framework