Hi All, forgive me for the simplistic question but looking through ZF source I see if statements structured like so:
if ('' === $value) {
..
}
is this just to protect against $value being empty?
Consequently, would I be better doing this:
while(false != ($attribute = $result->fetch_assoc())) {
...
}
instead of:
while($attribute = $result->fetch_assoc()) {
..
}
TIA
Dan
