Welcome to PCCS-Linux.COM Hello, and welcome to the PCCS-Linux Home Page.
Your last visit was !!!
Your Browser is running on Other
 
PHP Operators

Operator

What It Means

Example

Evaluates To

&&

AND

$myvalue == $thisvalue && $myvalue=20 > $avalue

True

$myvalue && $avalue < $avalue

False

||

OR

$myvalue == $thisvalue || $myvalue < = $avalue

True

$myvalue > $thisvalue || $myvalue < = $avalue

False

!

NOT

!$myvalue

False

<=

is less than or equal to

$myvalue <= $avalue

False

Operator

What It Means

Expression

Evaluates To

==

is equal to

$myvalue == $avalue

False

!=

is not equal to

$myvalue != $avalue

True

>

is greater than

$myvalue > $avalue

True

<

is less than

$myvalue < $avalue

False

>

is greater than or equal to

$myvalue > $avalue

True

<

is less than or equal to

$myvalue < $avalue

False


Page hits 110 last request on :02:47



This web site is prepared and maintained by Chauncey Thorn.
The information contained in this site was valid at the time of posting.
Chauncey Thorn, assumes no liability for damages incurred directly or indirectly as a result of errors, omissions or discrepancies.

Remember most of the content here are my notes...

All logos and trademarks in this site are property of their respective owner. All the rest © by PCCS-Linux.COM

PCCS-Linux.COM ::ource Advocate Articles catalogue
2000 2002