Consult a PHP & operation related Issues

Source: Internet
Author: User
Consult a PHP & operational issue

Where Os_type is 3 os_rs[' App_key '] is 134217728 that is 16 binary 8000000

echo "#########". "
";
echo $os _type. " ". $os _rs[' App_key ')."
";
Echo ($os _type) & ($os _rs[' App_key '); = = "The result is 1 .
echo "
";
Echo (3) & ($os _rs[' App_key '); = = = "The result is 0 is normal.
echo "
";
Echo (268435455) & ($os _rs[' App_key '); = = = "The result is 134217728 also normal
echo "
";
Echo $os _type&134217728; = = = "The result is 0 is normal.
echo "
";

echo "";
echo "
if ($flag! = 0)
echo "checked=\" checked\ "";
echo ">";
echo "$app _str";
echo "";
echo "";


The weird thing is why 2 variables & operation result is 1, is not involved with the symbol of the problem
------Solution--------------------
I'm 0 on this side of the line.
------Solution--------------------
Echo ($os _type) & ($os _rs[' App_key '); 0

What's the complicated situation, you say it and see
  • 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.