Online
 
Friday, 09 January 2009
 
 
More article:
Related Content:

PHP - Operators
 

 

Expressions are combined and manipulated using operators. The following table lists the operators from highest to lowest precedence; the second column (A) shows the operators' associativity. These operators should be familiar to you if you have any C, Java, or Perl experience.

Operators

A

!, ~, ++, --, @, (the casting operators)

Right

*, /, %

Left

+, -, .

Left

<<, >>

Left

<, <=, >=, >

Nonassociative

==, !=, ===, !==

Nonassociative

&

Left

^

Left

|

Left

&&

Left

||

Left

? : (conditional operator)

Left

=, +=, -=, *=, /=, %=, ^=, .=, &=, |=, <<=, >>=

Left

AND

Left

XOR

Left

OR

Left

 

Tags: Add more tags...,
This entry was posted on . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a comment.
Users' Comments (0)

Comment an article
  Name
  E-mail
   Title
Available characters: 4000
 Notify me of follow-up comments
This image contains a scrambled text, it is using a combination of colors, font size, background, angle in order to disallow computer to automate reading. You will have to reproduce it to post on my homepage
Enter what you see:

No comment posted

Natural 350
Statistic


Last Post

 
Top! Top!