What is the difference between php and PHP? _ php Tutorial

Source: Internet
Author: User
What is the difference between & amp; and & amp; in php. First, it is a logical operator, which represents AND is often referred to as AND. The following are common examples :! $ ANot (logical NOT) TRUE, if $ a is not TRUE. $ A $ bAnd (logical AND) first: & is a logical operator, representing "AND", also known as AND. The following are common examples:

! $ A Not (logical Not) TRUE, if $ a is Not TRUE.

$ A & $ B And (logical And) TRUE, if both $ a And $ B are TRUE.

$ A | $ B Or (logical Or) TRUE. if $ a Or $ B is set to TRUE.
---------
Second: & is a bitwise operator. $ c = $ a & $ B sets the bitwise of both $ a and $ B to 1.
For example, 5 & 3 => 101 & 11 is binary.

Between AND. The following are common examples :! $ A Not (logical Not) TRUE, if $ a is Not TRUE. $ A $ B And (logical And )...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.