Should a function return null
?
E.g.
function test()
{
return null; // vs return;
}
Is the latter considered bad practice or doesn't it matter?
PS
Whether it is bad practice shouldn't be subjective IMHO.
See Question&Answers more detail:os