Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Bitwise operators

Mon Oct 27, 2008 12:29 pm

Code:
<?php
     $answers
= 88;
     
$question_four = 8;
   
     
$answers = $answers ^ $question_four;
     print(
$answers . "<br />");
     
$answers = $answers | $question_four;
     print(
$answers . "<br />");
     
$answers = $answers ^ $question_four;
     print(
$answers . "<br />");
?>




Post a reply
  Related Posts  to : Bitwise operators
 bitwise operators usage in C++     -  
 Bitwise operators in java     -  
 working of bitwise ~ operator     -  
 PHP operators     -  
 shortcut operators     -  
 difference between the >> and >>> operators     -  
 Using Assignment Operators     -  
 Equality Operators     -  
 using bit-wise operators in c++     -  
 C++ Increment Operators     -  

Topic Tags

PHP Basics