I would not define my self as PHP developer. My cup of thea is HTML(5), (S)CSS and Javascript :p
I guess isset only checks whether the variable exists right?
Yes isset checks if variable is defined.
If i'm right $x = undefined is not possible and needs to be null when no value is assigned
empty checks if the length > 0
correct if you mean !empty() > 0 is not a empty string if character length > 0, better said empty() returns true as boolean when character length = 0. NOTE a space is a character
I would not define my self as PHP developer. My cup of thea is HTML(5), (S)CSS and Javascript :p
Yes isset checks if variable is defined.
If i'm right
$x = undefined
is not possible and needs to be null when no value is assignedcorrect if you mean
!empty() > 0
is not a empty string if character length > 0, better saidempty()
returnstrue
as boolean when character length = 0. NOTE a space is a characterFantastic, thanks again! I might need to refresh my php knowledge