Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Exemple des opérateurs des bits


{filelink=15097}


<?php
     $a = 66;
     $b = 6;

      // Ou exclusif
     $a = $a ^ $b;
     print($a . "<br />");
     // ou inclusif
     $a = $a | $b;
     print($a . "<br />");
     $a = $a & $b;
     print($a . "<br />");
?>

No comments yet.

Leave a Comment