Forum Index
/
General
/
!== correct?
[
This topic is solved ]
bart
28 March 10 / 20:50
Hello,
I'm not a real php expert. In the class.uploadfield.php file there are if statements with the use "!==". With the knowledge I have this seems incorrect (I think it should be "==" or "!=".
At line 47 for example.
Is this correct?
greetings Bart
Remco van Arkelen
(Admin)
29 March 10 / 08:33
Hi Bart, usage of === and !== is correct, in this way PHP not only checks the values but also datatypes, see the comparison checks at php.net:
http://php.net/manual/en/language.operators.comparison.php
Top
powered by
PHP-GLOBE
© 2004 - 2012 FormHandler. All rights reserved. -
Open source license