Skip to content

TRUEANGLE

BEAUTY AND PLAY

  • GitLab
  • GitHub
  • Configuration
  • AI
  • BLOG
  • ABOUT
    • ABOUT
    • Perception Style
    • Motivation

Tag Archives: left shift

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 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
« May    
TRUEANGLE, Proudly powered by WordPress.