www.webdeveloper.com
Results 1 to 9 of 9

Thread: operator ^= what exactly it does

  1. #1
    Join Date
    Feb 2011
    Posts
    90

    Question operator ^= what exactly it does

    what is the action of the operator ^= ?
    Share on Google+

  2. #2
    Join Date
    Jul 2013
    Location
    Voorheesville NY USA
    Posts
    556
    Why do you ask? Do you have an example of it being used somewhere?
    Share on Google+

  3. #3
    Join Date
    Feb 2011
    Posts
    90
    I preparing to job interview and I am doing some online test and they used it.
    Share on Google+

  4. #4
    Join Date
    Jul 2013
    Location
    Voorheesville NY USA
    Posts
    556
    And - in what context did they use it?
    Share on Google+

  5. #5
    Join Date
    Jul 2013
    Location
    Voorheesville NY USA
    Posts
    556
    Ok - once again I did the research for someone too lazy to make the slightest effort (some job hiree you're gonna be!).

    http://msdn.microsoft.com/en-us/library/0zbsw2z6.aspx

    Just curious. Does this job involve C# programming? Because if it does, you should have at Least looked in your C# reference as a start.
    Share on Google+

  6. #6
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,178
    Start here when you don't know/understand any PHP operator: http://us1.php.net/manual/en/languag...precedence.php

    Frankly, I reckon the bit-wise Xor assignment operator is used in something like one in a million* PHP scripts (if that many), making it a rather useless interview question for at least 99%* of the PHP jobs out there.
    ________________
    * Caution: 68.3% of all statistics are made up.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us
    Share on Google+

  7. #7
    Join Date
    Feb 2011
    Posts
    90
    ginerjm this is the php section, so my question was about php, not c#.
    Your answer is totally irrelevant.

    I tried to find it via google but the results confuse me.
    Never mind.

    NogDog, thank you.
    Share on Google+

  8. #8
    Join Date
    Jul 2013
    Location
    Voorheesville NY USA
    Posts
    556
    My answer was the only answer that matched your question about ^=. Since it is not specifically referenced in the PHP manual, I decided to branch out in the research I was doing for you(!) and offered up the only documented usage I found.

    Do your own research next time and you won't have to put up with potentially misleading results.

    Oh - and sorry to hear about your inability to understand some information you found on google. Can't wait to see how you handle your first set of job specs.
    Share on Google+

  9. #9
    Join Date
    Feb 2011
    Posts
    90
    ginerjm, this is a php section, why would I ask question here about c#?

    Anyway I don't understand your problem, I asked question about something specific, because I see this forum as a place to ask specific question, if you don't want to answer you don't have to.

    Just don't patronize!
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles