M
M
mrzgt2015-11-23 12:39:01
PHP
mrzgt, 2015-11-23 12:39:01

What is the correct spelling and what is the difference between $a == '1' and $a == 1?

Tell me how to write correctly and what is the difference between
$a == '1'
$a == 1
$b !=1, why is it written like this = and not ==

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Khomenko, 2015-11-23
@mrzgt

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question