Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

PHP Operators

Posted on 2006-03-29
8
Medium Priority
?
268 Views
Last Modified: 2008-03-17
Where can I find info on PHP operators, such as === ?
Thanks,
Michael
0
Comment
Question by:mhoggatt1
6 Comments
 
LVL 37

Expert Comment

by:Harisha M G
ID: 16324949
Hi,

www.php.net

---
Harish
0
 
LVL 37

Accepted Solution

by:
Harisha M G earned 300 total points
ID: 16324983
0
 
LVL 11

Assisted Solution

by:Joseph Melnick
Joseph Melnick earned 300 total points
ID: 16325010
Hello mhoggatt1,

When you see this expression it means it is usually in this form:

if ($a === $b) {
  do something
}

for this expression to be True $a and $b would have to be equal in value AND type.

Joseph Melnick (jmelnick)



0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 2

Expert Comment

by:randy_stuart
ID: 16325091
http://us3.php.net/manual/en/language.operators.php

here is the operator manual of php.net's site

Randy
0
 
LVL 37

Expert Comment

by:Harisha M G
ID: 16325101
For ex,

$a = "0";
$b = 0;

Now, $a == $b returns true, but $a === $b returns false since the types are different One is string, another is integer)
0
 

Author Comment

by:mhoggatt1
ID: 16490702
Thanks for the help.
Michael
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question