Skip to content

TRUEANGLE

BEAUTY AND PLAY

  • DOLLECT
  • Others
  • Configuration
  • AI
  • BLOG
  • ABOUT
    • ABOUT
    • Perception Style

Daily Archives: June 27, 2014

Hacking bitwise left shift operation with PHP

<?php $val = 1; for($count = 0; $count <=10 ; $count++) { echo “count is …” . $count; echo “\n”; echo “val is …” . $val; echo “\n”; $val = $val << 1; } ?>

Posted byjeffrinJune 27, 2014Posted inPHP, Programming LanguagesTags: bitwise operation, left shift
June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May   Jul »
TRUEANGLE, Proudly powered by WordPress.