NeverPhased
NeverPhased

Reputation: 1566

How to perform a search using characters "+ - =" .etc

I am am trying to remember the meaning of += in the following:

$total += cumumalitive_norm($x, $mean, $sd);

I know this is simple just not 100% sure if I'm right. I am presuming it means

$total = $total + cumumalitive_norm($x, $mean, $sd);

After trying to use Google to search for an answer then this website, I have released that the characters "+ - =" .etc don't respond well in a search engine.

Is there a hack I can do to return better results? I was googling "php +=".

Regards

Upvotes: 2

Views: 152

Answers (2)

Eric Witchin
Eric Witchin

Reputation: 574

For the Google search you could type out plus and equals. Example: php plus equals.

And yes that is what the += means, but I only believe it works for numbers.

Upvotes: 2

Jay
Jay

Reputation: 2141

Thats right += is a short form. Search engines ignore almost any special char and short words. If you know what you are searching for that isn't a big problem. You would like to know more about operators in PHP? Google it or go directly to the PHP manual.

Upvotes: 0

Related Questions