php - Using empty over == "" -
It has come to my attention that by using instead of using Because if the text box / input is a white space, it is not empty .. while using white at white locations using for PHP documentation The following things are considered empty: It seems that you are just checking that there is a non-existent The black color is the character and therefore it should work: (empty ($ var)) {
It is not as efficient as most people think
empty () if I am using
($ Var == "") {{/ Code>
== "" Is not taken care of, so if any white spot and cave If there is a white spot, then my second example is more
"(an empty string) 0 (0 as an integer) 0.0 (0 as a float)" 0 "(As a string) Null Falls array () (an empty array) $ var; (A variable has been declared, but without any value)
if (stroken ($ var) == 0)
Comments
Post a Comment